Shop OBEX P1 Docs P2 Docs Learn Events
Expect a variable ???? — Parallax Forums

Expect a variable ????

lousyshotlousyshot Posts: 11
edited 2012-09-17 17:14 in BASIC Stamp
I loaded EepromNavigation.bs2 and went to run it, but got a couple errors which seems normal for me. Fixed a couple but got one that is pulling my hair out.
Robotics with the Boe-Bot, version 3.0, page 130,

Forward:
FOR pulseCount = 1 TO 64 ' Send 64 forward pulses.


I keep getting a EXPECT A VARIABLE on pulseCount also error 135.


I have re typed the whole Forward block section and no holp. I have scrutinized every letter, space and punctuation. Checked the electrical connections, Changed batterys. Where do I find what error 135 ,means? Thanks
lousyshot

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-09-17 17:14
    The "expect a variable" error is probably due to pulseCount not being predeclared or to a spelling error in its declaration.

    If this doesn't solve the problem, please post (i.e. copy and paste) your entire program here as you've typed it.

    -Phil
Sign In or Register to comment.