Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EXIT WHILE bug (*solved*)
#1
Try compiling this program:

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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)