Shop OBEX P1 Docs P2 Docs Learn Events
Can anyone tell me why I'm getting a "Expected ":" end of file" error? — Parallax Forums

Can anyone tell me why I'm getting a "Expected ":" end of file" error?

GarciaGarcia Posts: 5
edited 2007-02-28 03:20 in BASIC Stamp
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

Comments

Sign In or Register to comment.