Ok I am continuing my project.
I get a compiling error for my If then loop:
If I hide the two last line , then I dont get any error. But I need those lines. Any ideas?
if portb.0 = 1 then goto Option1
if portb.1 = 1 then goto Option2
if portb.2 = 1 then goto Option3
if portb.3 = 1 then goto stopping
else goto stopping
endif
error:
C:\PBP\MOTORG.BAS ERROR Line 62: Syntax error.
C:\PBP\MOTORG.BAS ERROR Line 63: ENDIF without a matching IF..THEN.
C:\PBP>
Bookmarks