But it only happened if the first statement following the @IF statement was a Dim statement and the condition was false.
Surely this is a bug? Maybe this has been mentioned before, but I could not find that.
Code: Select all
@IF 1
Print("a")
Dim a[10]
@ENDIF
@IF 0
Print("b")
Dim b[10]
@ENDIF
@IF 1
Dim c[10]
Print("c")
@ENDIF
; computer says no @endif
@IF 0
Dim d[10]
Print("d")
@ENDIF