Quote Originally Posted by flotulopex View Post
Hello
Is it possible to do the same for this code:
Code:
LED  var byte[3]
LED0 var GPIO.0
LED1 var GPIO.1
LED2 var GPIO.2
Counter var byte
MAIN:           
    for Counter = 0 to 2
        Toggle LED[counter] '<<<< is this possible another way?
        pause 200
    next counter
    goto main
end
Is thought this syntax would not be possible in PBP and my Editor won't allow this anyway.

I must miss something...


Another really excellent writeup on how variables and the like can be used in PBP...
http://www.picbasic.co.uk/forum/showthread.php?t=544