ASCII |
ascii returns the ascii code of the 1st character in a string.
ascii( expr_c )
|
Element |
Description |
Restrictions |
|
expr_c |
Char type expression. |
None. |
I = ascii(CHAINE)
ascii returns the ascii code corresponding to the first character in the expr_c string. To know the character table used by Adonix, refer to the annex chapter.
ascii is the converse function of function chr$.
The type of the result is Integer (from 0 to 65535).
|
Error |
Description |
|
ERMODE (10) |
The argument is not a string of characters. |
|
Copyright © Sage 1999 - 2007 |