View unanswered posts | View active topics It is currently Tue Jul 29, 2014 2:51 pm






Reply to topic  [ 2 posts ] 
ROBOTC Natural language programming - troubleshooting HELP! 
Author Message
Rookie

Joined: Thu Jun 30, 2011 10:55 am
Posts: 1
Post ROBOTC Natural language programming - troubleshooting HELP!
Does anyone know what this means? **Error**:Executable statements not valid in 'main' declaration block


Thu Jun 30, 2011 10:58 am
Profile
Site Admin
Site Admin

Joined: Mon Jun 08, 2009 4:50 pm
Posts: 70
Post Re: ROBOTC Natural language programming - troubleshooting HELP!
Please post your code so that we can help, but usually that means that you have some commands out side of task main that belong inside:

Code:
forward();    // <--
untilTouch(); // <--------these three belong inside task main.
stop();       // <--

task main()
{
  // they should be here
}

_________________
Bence Feher

Undergraduate Intern - NREC, Robotics Academy
ROBOTC - Testing/Documentation/Developer

Computer Science, Japanese, East Asian Studies
University of Pittsburgh, Konan University 甲南大学


Thu Jun 30, 2011 11:14 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.