To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
Reference
HTBasic Keywords
NUM - Returns decimal ASCII equivalent of the first character in a string.
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
NUM
Returns the decimal ASCII equivalent of the first character in a string.
NUM( string-expression )
Usage:
A=NUM(B$)
A=NUM("0")
N=NUM(Alph$)
B=NUM(B$[V])/16
Example:
NUM.BAS
Description:
The range of the returned values is 0 through 255.
See Also:
CHR$
,
LWC$
,
REV$
,
RPT$
,
POS
,
TRIM$
,
UPC$
,
VAL
,
VAL$