Returns an Integer representing the character code corresponding to the first letter in a string.
Syntax
Asc(string)
The required string argument is any valid string expression. If the string contains no characters, a run-time error occurs.
Remarks
The range for returns is 0-255 on non-DBCS systems, but -32768-32767 on DBCS systems.
Note The AscW function returns the character code native to the system (ANSI for Windows 95, Unicode for Windows NT).