Hi rasplund,
How did you get this work ?
if amp > 14 and amp < 18 then low yellow_l : low yellow_r : ampon = 0
In my compiler, ":" does not work with IF statement on the same line, and also there is no ENDIF.
So this code should do the following.
Code:
IF (amp > 14) and (amp < 18) then
low yellow_l
ENDIF
low yellow_r
ampon = 0
In this case,
low yellow_r and ampon = 0 will work free of the IF statement.
Was it what you needed or you needed these two inside the IF statement?
____________________________________
Last edited by sayzer; - 5th September 2006 at 13:51.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks