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