stevecrozz
New Member
Code:
CLEAR
TRISB = %00000000
TRISA = %00000000
time var word
counter var byte
count2 var byte
INLOOP:
FOR counter = 0 TO 7
Pause 10000
NEXT counter
Pause 4375
time = time + 1
FOR count2 = 0 TO 9
IF time.count2 = 1 THEN HIGH count2
ELSE
LOW count2
ENDIF
NEXT count2
GOTO INLOOP
End
ERROR Line 15: Bad variable modifier: .count2.
ERROR: ELSE: Mismatched block nesting.
ERROR: ENDIF: Mismatched block nesting.
BUILD FAILED: Thu Oct 23 11:23:21 2003
I'm just learning so any help would be greatly appreciated[/code]