The ENDIF is only used if there are multiple line to to IF
You can have multiple IF statements like you have it.Code:IF x = 5 THEN DO THIS DO THAT ENDIF
Code:IF x = 5 THEN LABEL_B IF x = 15 THEN LABEL_A
The ENDIF is only used if there are multiple line to to IF
You can have multiple IF statements like you have it.Code:IF x = 5 THEN DO THIS DO THAT ENDIF
Code:IF x = 5 THEN LABEL_B IF x = 15 THEN LABEL_A
Dave
Always wear safety glasses while programming.
Bookmarks