Originally posted by Michael Mattias
View Post
Ampersand is only valid as the first character, and B, O, Q, H can only follow an ampersand, except that B is valid in hexadecimal radix format. Zero or one period is ok, but two are invalid, except in scientific notation. D and E are only valid in scientific notation or hexadecimal, while + and - are only allowed as the leading character of a non-radix number, or immediately following the D or E in scientific notation. Spaces are skipped as leading characters, but not within a number. Except, of course, at the appropriate positions in scientific notation. Then, too, valid numbers and letters change for each form of radix notation. And then you have to consider trailing type identifiers...
Bob Zale
PowerBASIC Inc.
Comment