Thread: PBASIC Syntax
View Single Post
  #4   Spotlight this post!  
Unread 14-01-2003, 14:54
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
One thing: syntacticly that is correct. In terms of working on an RC, it's going to give you a BASIC RUN error. To avoid this, put a SERIN and SEROUT inside the loop. Or, ditch the DO...WHILE and router everything through your normal serin and serout. I suppose a gosub could accomplish the same thing from within the DO WHILE...
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php