Asc()
Asc() returns the ASCII-Byte value of the first charater passed.
Pre Processor | The function is also available in the Preprocessor, using constants only; it will not result in machine code. |
---|
Syntax: byte = Asc( a as string )
Example:
dim a as byte a = asc("A") ' Result: 65