Later classic versions of BASIC allowed prefixes to numbers to choose the number system (base) they used: &H, &O, ... VAL() would respect those prefixes while converting string numbers.
Example:
bwBASIC: ?val("&H80")
0
That should return “128”
See “INFO/Bwbasic-Doc-2.1.txt” section 4.c for the accepted prefixes.
Later classic versions of BASIC allowed prefixes to numbers to choose the number system (base) they used: &H, &O, ... VAL() would respect those prefixes while converting string numbers.
Example:
```
bwBASIC: ?val("&H80")
0
```
That should return "128"
See "INFO/Bwbasic-Doc-2.1.txt" section 4.c for the accepted prefixes.
Later classic versions of BASIC allowed prefixes to numbers to choose the number system (base) they used: &H, &O, ... VAL() would respect those prefixes while converting string numbers.
Example:
That should return “128”
See “INFO/Bwbasic-Doc-2.1.txt” section 4.c for the accepted prefixes.