08-25-2015, 02:27 PM
Try this:
Attempting to compile this program using latest ZX BASIC version 1.4.0s1953 will produce this error:
It will only compile correctly if you disable compiler optimizations using "-O 1".
Previous ZX BASIC version 1.4.0s1935 was able to compile this correctly at any optimization level.
Code:
DIM a AS UBYTE = 3
DIM b AS UBYTE = 2
PRINT a << (3-b)
Code:
Error: Undefined label '__LABEL0'
Previous ZX BASIC version 1.4.0s1935 was able to compile this correctly at any optimization level.