View unanswered posts | View active topics It is currently Wed Aug 12, 2020 3:02 pm

Reply to topic  [ 1 post ] 
Variables crash RobotC 
Author Message

Joined: Sun Oct 11, 2009 11:14 pm
Posts: 34
Post Variables crash RobotC
FailingAuto1 359.txt
We have created a problem using the variable feature. This is a very useful feature.
My programmer wanted to skip creating Motor/Setup by saving his Teleop program, deleting all the program - including a number of variables, switching to Autonomous and writing his auto program. He did not go into variable edit and delete the variables.
After writing part of the program including defining a number of new variables, he compiled the program and received a number of unreferenced variable warnings. I'm know sure of the sequence after that. He deleted all of the variable[number] statements and still received the warnings. He must have done something else. He may have tried to edit variable and delete. Anyway, the program now compiles with warnings. If you try to do anything with variables, the program crashes. The variable dropdown list has a null first entry that may be the problem. I used notepad to delete the unused variables and the program compiles and run correctly.

Edit my file didn't get linked in. The file should be .rgb not txt. It wouldn't upload a rbg file

Wed Sep 14, 2016 7:29 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

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.