Chr

From Bennu Wiki
Jump to: navigation, search


Definition

STRING chr ( <BYTE ASCIIvalue> )

Returns the character associated with ASCIIvalue.

Parameters

BYTE ASCIIvalue - The ASCII value of which the character is wanted.

Returns

STRING : The character associated with ASCIIvalue.

Example

Program chars;
Begin

    write(0,0, 0,0,chr(65));
    write(0,0,10,0,chr(67));

    Repeat
        frame;
    Until(key(_esc))

End

Used in example: write(), key()


Strings Functions
Asc()Atof()Atoi()Chr()Find()Format()Ftoa()Itoa()Lcase()Len()Lpad()Rpad()Strcasecmp()Strlen()Strrev()Substr()Trim()Ucase()