Chr

From Bennu Wiki
Revision as of 02:05, 2 October 2008 by Sandman (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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()