char

Syntax

char(X)

Arguments

X can be of any data type.

Details

Convert the input to the data type of CHAR.

Examples

x=char();
x;
// output
00c

typestr x;
// output
CHAR

a=char(99);
a;
// output
'c'

char("990");
Failed to convert the string to CHAR'

typestr a;
// output
CHAR

char(a+5);
// output
'h'