Core Function Asc
From Sputnik Wiki
Asc( <expression> )
Contents |
Description
Returns the ASCII code of a character.
Parameters
char
The character to get the code for. If a string is used, the code for the first character is given.
Return Value
Returns the ASCII code of the specified char.
Remarks
The function only works with numbers that fit in a 32 bit signed integer.
Example
$code = Asc("A"); MsgBox("ASCII code for A: $code");