$asc » History » Version 1
Per Amundsen, 02/18/2014 06:30 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$asc(C)* |
||
| 4 | |||
| 5 | Returns the ascii number of the character C. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | C - The character. |
||
| 10 | |||
| 11 | *Example* |
||
| 12 | |||
| 13 | <pre> |
||
| 14 | ;Returns 65. |
||
| 15 | //echo -ag $asc(A) |
||
| 16 | |||
| 17 | ;returns 42 |
||
| 18 | //echo -ag $asc(*) |
||
| 19 | </pre> |