View unanswered posts | View active topics It is currently Sun Jun 17, 2018 9:33 pm

Reply to topic  [ 3 posts ] 
program issue 
Author Message

Joined: Wed Feb 06, 2013 7:40 pm
Posts: 3
Post program issue
I am trying to write a competition program by hand as a challenge to myself but i keep getting compling errors. They are as folows
13.042**Error**:No body defined for procedure prototype 'pre_auton'
13.061**Error**:No body declared for procedure 'pre_auton'. Global subroutine assumed.
I have tried taking the code needed for this area from a competition template and it still returns these errors.

File comment: this is the program
test_hand_comp.c [2.51 KiB]
Downloaded 448 times
Wed Feb 06, 2013 7:49 pm
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 722
Post Re: program issue
Spelling matters! In this particular case, you have (in your code):

void pre_aton()

Note, though, that it should be:

void pre_auton()

The misspelling of 'auton' was what caused the error; ROBOTC assumed that you defined a function called 'pre_aton' (which is valid) but the template calls for pre_auton, it technically doesn't exist, hence the error.

Correcting the spelling should fix the issue for you.

Check out our Blog! And our Facebook page!
Need help? Take a look at our updated help documentation and the ROBOTC Forums.

Wed Feb 06, 2013 11:09 pm

Joined: Wed Feb 06, 2013 7:40 pm
Posts: 3
Post Re: program issue
Thank you. I never even noticed that. I will sub that in.

Thu Feb 07, 2013 7:49 am
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.