HP 3000 Manuals

NUM [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

NUM 

The NUM function returns the ASCII code that corresponds to the first
character of a string.  This is an integer in the range [0, 255].

Syntax 

NUM(S$)

Parameters 

S$               A string expression whose first character will be
                 evaluated.

Examples 

     10  A = NUM("Angle")    !A = 65



MPE/iX 5.0 Documentation