|
Page 1 of 1
|
[ 4 posts ] |
|
ROBOTC Natural language programming - troubleshooting HELP!
Author |
Message |
snichol
Rookie
Joined: Thu Jun 30, 2011 10:55 am Posts: 1
|
 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 |
|
 |
bfeher
Site Admin
Joined: Mon Jun 08, 2009 4:50 pm Posts: 70
|
 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:
_________________ 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 |
|
 |
Skittelzittel
Rookie
Joined: Mon Feb 23, 2015 8:56 am Posts: 2
|
 Re: ROBOTC Natural language programming - troubleshooting HE
Hey, i'm also getting this error, suggestions? also if there is anything else wrong please mention it!
repeat(forever) {if (true) (SensorValue(bumpswitch) ==1); turnLEDOn(led); if (true) {(SensorValue(bumpswitch) ==0); (turnLEDOff(led));}}
Thanks!
|
Mon Feb 23, 2015 9:02 am |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 Re: ROBOTC Natural language programming - troubleshooting HE
Is that the entire program?
= Xander
_________________| Professional Conduit of Reasonableness| (Title bestowed upon on the 8th day of November, 2013) | My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
Mon Feb 23, 2015 9:08 am |
|
|
|
Page 1 of 1
|
[ 4 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
|
|