OK, this is probably really simple but I can't seem to make it work. I'm using a IF THEN statement like this: IF (variable) = (a number) THEN (Label)
Label: some code
END IF
When I try to compile, the error message I get is END IF without a matching IF---THEN
Basically, what I am trying to do is jump out of a loop to "Label" if the variable is a specific number.
Reading the PICBASIC compiler manual, I can't see what I'm doing wrong. Thanks for any help.
Klaus