08-19-2015, 05:09 PM
Try compiling this program:
It will generate the following compile error:
Tested with latest ZX BASIC version.
Code:
function x() AS UBYTE
return 1
end function
function y() AS UBYTE
return 1
end function
WHILE x()
IF NOT y() THEN
EXIT WHILE
END IF
END WHILE
It will generate the following compile error:
Code:
Error: Undefined label '__LABEL1'
Tested with latest ZX BASIC version.