HI,paul borgmeier
-i finish reading the manual and found out that IF---THEN can operate in 2 manners.
-In one form,the THEN in an IF...THEN is essentially a GOTO. If the condition is true,the program will GOTO the label after the THEN.
-In the second form, IF...THEN can conditionally execute a group of statements following the THEN. The statements must be followed by an ELSE OR ENDIF to complete the structure.
-the message got worse when i add ENDIF in the first IF---THEN
TEST:
IF PORTA.0=1 Then
goto TESTING
Else
goto TEST
Endif
and become:
Error C:\CDLITE\THESIS\DECODE1.ASM 67:[231] Attempt to Redefine '_TEST'
Error C:\CDLITE\THESIS\DECODE1.ASM 70:[231] Attempt to Redefine '_TESTING'
Error C:\CDLITE\THESIS\DECODE1.ASM 77:[231] Attempt to Redefine '_TESTING'
Error C:\CDLITE\THESIS\DECODE1.ASM 80:[231] Attempt to Redefine '_CHECKING'
*** 4 Errors***
-what is meaning of those errors?
thank u very much
Bookmarks