So I was making a program that used Pause, sent it to jsTIfied, and kept on getting syntax errors on a line with a single Pause (no string either):

:Pause

Intrigued, I moved my cursor there and realized that the Pause had not been turned into the token; instead, it contained a capitalized "P" and lowercase letters "ause".

By simply replacing it with the token from the [PRGM] menu I was able to run my program successfully.
You need a space after it. The token is "Pause ".
Ah. I see - it worked after I used the keypad "Pause" instead of manually typing it. Thanks, Shaun!
Exactly what Merth said. I implemented the calculator keypad thing for typing tokens if you're not positive you know the exact character sequence of tokens. Pause is one of the tricky ones; similar tokens that include the space as parts of the space are Disp, Lbl, and Goto. Some tokens, like and, or, and xor, even include two spaces.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement