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

Code:
DIM h AS UBYTE

    LET h=10
    IF h=12 THEN
    ELSEIF h=10 THEN
        LET h=h+1
    END IF

    PRINT h

It was supposed to print 11, but it will print 10 instead.
Reply
#2
Yes, it was a bug (and a nasty one!). Thanks. :roll:
Can you download ZX BASIC 1.4.0-s1935 and check if it works now, please??
Reply
#3
It works now, thank you!!!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)