%CHAR
Return an ASCII character for a numeric expression
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
USupported on UNIX
|
VSupported on OpenVMS
|
character = %CHAR(expression)
Return value
character
The character that corresponds to the ASCII character value of expression. (a)
Arguments
expression
The expression to convert. (n)
Discussion
Expression is evaluated modulo 256. (If it is greater than 255, it is divided by 256 and the remainder is used.) For example, %CHAR(299) is equivalent to %CHAR(43).
%CHAR(0) returns a null character.
Examples
The following code loads the delete character as the initial value in del.
record del ,a1 proc del = %char(127)