

Description:
The ASCII built-in translates strings into integers and integers or keywords
into strings. If a string parameter is passed, the ASCII value of the first
character in the string is returned. If an integer parameter is passed, the
character equal to that ASCII value is returned. If a keyword parameter is passed, the
ASCII value generated by that key is returned. Note that ASCII values are
determined locally by each machine.
Syntax:
string | integer := ASCII ( {integer | keyword | string})
Examples:
The following example provides translations of the form-feed to and from its
ASCII value. The common ASCII value of 12 is assumed.
FF$STRING := ASCII (12); ! A string containing the form-feed character is returned
FF$VALUE := ASCII (FF$STRING); ! Integer value, 12 is returned
The next example will insert a line-feed into the current buffer.
COPY_TEXT ( ASCII (10));
Related Builtins:
ASCII