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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)