chr
Returns a character string the length of the number of parameters.
Available in:
Apps (win) |
Apps (char) |
Reportwriter |
RPC |
Standalone PL |
X |
X |
X |
X |
X |
Syntax
string chr(parm1[,parm2,...,parm{n}])
int parm
Description
Returns a string that has the same number of characters as
the number of parms specified.
parm | integers that specify
a character place. Each one is processed by Modula 256.
|
Notes
Be careful when you display any of these strings since they can include
nonprintable characters.
Example
Prints the character representation of the given
ascii code.
{
int i;
i=65;
printf("The ASCII code of '" ^^ i ^^ "' is a(n) " ^^ chr(i));
}