Next:
compare
Up:
Character and String Functions
Previous:
bin()
Contents
Index
char
Format:
char(int_expr)
Result:
Text
Description:
Returns the character equivalent of an ASCII code. This function allows you to deal with non-printable characters.
Examples
SPECTRA
>
*
= char(27)”[2J"
clear screen
SPECTRA
>
*
= char(27)”[n;mf"
set cursor to line n column m
SPECTRA
>
*
= char(27)”[1;24r"
resets the scrolling region
SPECTRA
>
*
= char(27)”="
select appl. keypad mode
SPECTRA
>
*
= char(27)”
>
="
select numeric keypad mode