Quote Originally Posted by sayzer View Post
IF i=%00000001 THEN HIGH 1
ELSE
LOW 1
ENDIF


should be like

IF i=%00000001 THEN
HIGH 1
ELSE
LOW 1
ENDIF
If you want to fit the THEN on one line, then the ELSE must be there too. To fit multiple commands on your line, you need a colon ":" between them...

IF i=%00000001 THEN HIGH 1 : ELSE : LOW 1
(And I don't remember if the Endif is required in this situation or not.)