Shop OBEX P1 Docs P2 Docs Learn Events
Tokenize — Parallax Forums

Tokenize

jdinchicojdinchico Posts: 4
edited 2009-05-03 13:23 in BASIC Stamp
Im setting up my BASIC stamp and i'm to the point were you enter the first program. I have typed in the command and i get an error code that says "unable to tokenize" Can anyone tell what I'm doing wrong?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-04-29 01:01
    Can't tell what you're doing wrong without some information. For example, are you talking about the Stamp Editor? Did you just start it and open a new program window? What did you type in that window? What did you do after that? What operating system are you using? Did anything unexpected happen during the installation?
  • jdinchicojdinchico Posts: 4
    edited 2009-04-29 01:10
    Yes I am in the stamp editor. i started typing the info from the book. "Whats a microcontroller" Stamp bs2 etc. etc. I'm running this on XP. And yes I had problems getting it set up. When i connected the usb and checked it with identification it said yes to "Loopback" And "No" to echo. But now the has identified everything after reinstalling.
  • Mike GreenMike Green Posts: 23,101
    edited 2009-04-29 01:17
    Exactly what did you type?
  • jdinchicojdinchico Posts: 4
    edited 2009-04-29 01:26
    ' What's a Microcontroller - FirstProgram.bs2
    ' Basic Stamp sends message to Debug Terminal.

    ' {$STAMP BS2}
    ' {$PBASIC 2.5}

    DEBUG "Hello its me, your BASIC Stamp!"
    END
  • Carl HayesCarl Hayes Posts: 841
    edited 2009-04-29 05:52
    I just now copied your code (as posted) into my copy of the Stamp editor and it tokenized OK. So the problem must lie elsewhere, not in what you typed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · -- Carl, nn5i@arrl.net
  • Mike GreenMike Green Posts: 23,101
    edited 2009-04-29 13:45
    You might try uninstalling, then reinstalling the Stamp Editor with a fresh copy from Parallax's website.
  • $WMc%$WMc% Posts: 1,884
    edited 2009-05-01 02:07
    I copied Your code as well, It Tokenized fine.

    Have You restarted Your computer lately?

    ______________$WMc%______

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The Truth is out there············································ BoogerWoods, FL. USA
  • jdinchicojdinchico Posts: 4
    edited 2009-05-02 14:26
    Thanks for everyone's help. Its up and running!
  • vaclav_salvaclav_sal Posts: 451
    edited 2009-05-03 13:23
    For future reference - would you mind posting the solution?
Sign In or Register to comment.