Table of Contents

ugBASIC User Manual

CHR ✓

SYNTAX

   = CHR(value)

PURPOSE

This function creates a string that contains a single character, generated by a given ASCII code number. Note that, depending on the hardware, only some characters are printable on the screen. Others are used internally as control codes.

EXAMPLE

  x = CHR(65)

See also the following example files:

ABBREVIATION

 Ch

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY