HTBasic Help
×
Menu
Index

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: