asc Function
|
Function: |
Returns the ASCII code of the leftmost character of the string sourcestr. |
|
Syntax: |
asc(byref sourcestr as string) as byte |
|
See Also: |
|
Part |
Description |
|
sourcestr |
Input string; the function will return the ASCII code of the leftmost character of this string. |
Examples
Tibbo BASIC
x = asc("123") ' result will be 49 (ASCII code of '1')