chr2

Returns a unicode 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   chr2(parm1[,parm2,...,parm{n}])
int      parm

Description

Returns a string that has the same number of unicode characters as the number of parms specified.
parm integers that specify a character place. Each one is processed by Modula 65536.

Notes

Be careful when you display any of these strings since they can include nonprintable characters.

Example

Prints the character representation of the given unicode values.
{
 int i;

 i=65;
 printf("The Unicode character '" ^^ i ^^ "' is a(n) " ^^ chr2(i));
}