3.5.7.3 Char

Description

This function is used to return the character corresponding to the code number.

Syntax

 string Char(int number)$

Parameters

number

is a number from 1 to 65535. Prior to Origin 2018b, the char() function could only return 1 to 255 characters but has been extended to return characters beyond the ASCII limit.

Return

Return the character of the code number.

Example

string strchar$=char(65)$;
strchar$=; //Should return the character A.

See Also

Code