The CHR$()
function converts a number between 0 and 255 to its matching PETSCII character (as string).
The inverse function of CHR$()
is ASC
.
DECLARE FUNCTION CHR$ AS STRING (charcode AS BYTE) SHARED STATIC INLINE
PRINT CHR$(147): REM clear the screen