Okay, I feel like a dolt, but at least I learned something today. Thanks Sayzer.![]()
Thanks guys, I haven't tried it yet but I will here in the very near future.
Don
Can anyone tell me why this does not work:
if var8 = 1 then goto beper : J = 3
The if statement works but J does not = 3 ?
The J=3 statement isn't executed when VAR8=1 because you're telling to jump to beper.
If you want to set J=3 when the IF statement is true thenor simply move J=3 to after the beper label in your program.Code:IF var8 = 1 then J=3 Goto beper ENDIF
/Henrik.
You are exiting the code and jumping to a label "beper". The statement j=3 is never getting executed the way you have written it. If "beper was a subroutine (ie GOSUB beper) then it would be returned to after executing and, set j=3 as the next statement.
Dave Purola,
N8NTA
EN82fn
Bookmarks