This wiki is out of date, use the continuation of this wiki instead

Chr

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:21, 26 November 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (00:33, 26 November 2007) (edit) (undo)
Sandman (Talk | contribs)
m (Example)
 
Line 30: Line 30:
</pre> </pre>
Used in example: [[write]](), [[key]]() Used in example: [[write]](), [[key]]()
-+ 
{{Funcbox {{Funcbox
| category = Strings | category = Strings
}} }}

Current revision


Contents

[edit] Definition

STRING chr ( <BYTE ASCIIvalue> )

Returns the character associated with ASCIIvalue.

[edit] Parameters

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

[edit] Returns

STRING : The character associated with ASCIIvalue.

[edit] 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() • Ftoa() • Itoa() • Lcase() • Len() • Strrev() • Substr() • Ucase() •
Personal tools