View Single Post
  #2   Spotlight this post!  
Unread 02-01-2003, 12:01
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
That's my fault. RoboGUI outputs the following (it's not supposed to be this way):

if NOT (sensorN <<condition>> value) then then label
...
label


The problem comes from the two "then"s. If you output the code (File->Write Code...) and then delete the second one, it should work just fine.

I just fixed it in the master source and will be releasing the updated version as soon as I finish some other things with it.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php