Table of Contents

CHR$

Returns the character (one-element string) corresponding to the ASCII code represented by the given numerical argument; may be used for special control characters

Implemented by: hptsb, decbasic, altair8K, Applesoft, TI994, Atari, msatari, level2, trscolor, colormc, Sinclair, BBC, GWBASIC, MSX, bwbasic, bw32, ABasiC, QBasic, VBDOS, Gambas, minibasicmm, minibasicjs

With variations: CBM (also used for immediate console control)

Also written as:

Usage

Variations

In Commodore BASIC, CHR$ is famously used with PRINT for changing console output, mainly colors, with special control codes.

Examples

Comments

Similar keywords

In other languages...

References