Chr$ (Function)

Gets the character corresponding to the character code.

Chr$ (<Expression>)

Parameters
<Expression>
The expression (integer type) that requests the character code.

Return Value
Returns the character type string.
The content of the value is ASCII code.

Description
Specify an integer from 0 to 255 in the <Expression>.
When the value of the <Expression> is a double-precision type real number, the fractional part is handled as a rounded value.
When the control code is used, output by inputting the corresponding value is possible.(For example, if Chr$(13) is used, "CR" (ctrl+M) is output)
There is the reverse function asc in relation to Chr$ and the character code that corresponds to the character is returned as a decimal.
Example
Change the numerical value "48" to its character code.
      CHARA$=Chr$(48) 

The result is as follows:
CHARA$="0"