Menu

#70 Nested compif/compelse statementes doesn't works

compiler
open
NBC (24)
5
2013-01-02
2009-07-25
No

thread main
compif EQ, 1, 0
compif EQ, 1, 0
mov a, b
compend
mov a, b
compend
endt

Compiler erroneously tries to compile the second 'mov a, b' statements and fails because variables a and b are not defined.

Discussion