Can anyone tell me why I'm getting a "Expected ":" end of file" error?
Garcia
Posts: 5
Hello everyone....this might turn out to be simple but this is the basic program:
' {$STAMP BS2}
' {$PBASIC 2.0}
AlarmLed··········· PIN·· 0···· 'LED on p0
FlashTM············ CON·· 500·· 'delay 500 milliseconds
MAIN:
HIGH AlarmLed······ 'turn the LED ON
PAUSE FlashTM
LOW AlarmLed······· 'turn the LED OFF
PAUSE FlashTM
GOTO MAIN
Can anyone tell me why I'm getting a "Expected ":" end of file" error?
Thanks in advance.
JRGarcia
Post Edited By Moderator (Chris Savage (Parallax)) : 2/27/2007 6:03:59 PM GMT
' {$STAMP BS2}
' {$PBASIC 2.0}
AlarmLed··········· PIN·· 0···· 'LED on p0
FlashTM············ CON·· 500·· 'delay 500 milliseconds
MAIN:
HIGH AlarmLed······ 'turn the LED ON
PAUSE FlashTM
LOW AlarmLed······· 'turn the LED OFF
PAUSE FlashTM
GOTO MAIN
Can anyone tell me why I'm getting a "Expected ":" end of file" error?
Thanks in advance.
JRGarcia
Post Edited By Moderator (Chris Savage (Parallax)) : 2/27/2007 6:03:59 PM GMT
Comments
' {$PBASIC 2.5}
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
Got through my very first program.....
Thanks.
Garcia