Pierre,
Welcome -
Read the manual for IF-THEN and then try what is below for your first IF-THEN statement.
IF PORTA.0=1 Then
goto TESTING
Else
goto TEST
Endif
You will need to update (fix) some of your other IF-THEN statements as well.
Good Luck,
Paul Borgmeier
Salt Lake City, Utah
USA
Bookmarks