For clarification as to why your original format did not compile.
snip ... "If the condition is true,the program will GOTO the label after the THEN"
The LABEL needs to be on the same line as the THEN in order for it to be assumed a GOTO. If used in this manner it cannot have an ELSE associated with it.
EXAMPLES:
IF PORTA.0 = 1 THEN TESTING
and
If PORTA.0 = 1 THEN
GOTO TESTING
ENDIF
do the same thing (but the second form takes more program words)
Paul
Bookmarks