Char()
Summary
Returns a character from the ASCII table.
Syntax
c = Char(integer i)
| Argument | Contents |
|---|---|
| i | An index to the ASCII table |
Returns
A string of one character, whose ASCII value is i.
Notes
-
The index should be between 0 and 255.
-
How the character shows on the screen depends on the font used.
Example
letter = Char(97) // letter is now "a"
See Also
| Function | Summary |
|---|---|
| Ascii() | Returns the ASCII code of a character |
| IntToString() | Converts an integer to a string representation of the integer value |
| String() | Converts a real number to string |