Retro Rocket OS
BASIC-Powered Operating System
Loading...
Searching...
No Matches
CHR$ Function
CHR$(integer-expression)

Returns the ASCII character corresponding to the given integer value.


Notes

  • Valid values are in the range 0255.
  • Values outside this range are truncated to the low byte.
  • The return value is always a single character string.

Errors

  • None.

Examples

PRINT CHR$(65) : REM "A"
PRINT CHR$(10) : REM Newline
PRINT "HELLO" + CHR$(33) : REM "HELLO!"

See also ASC