|
Page 1 of 1
|
[ 3 posts ] |
|
| Author |
Message |
|
spaceninja524
Rookie
Joined: Thu Nov 06, 2008 4:35 pm Posts: 12
|
 Limits?
In the last years version of RobotC there were limits to header files and functions. I think header was 9 and functions were 99. anyways are these still the same? have they been extended? shorted? and are there other limitations to things such as tasks? Thanks for your response!
_________________ Palm Harbor University High School, Robotics team Pandara #506
|
| Fri Oct 16, 2009 11:19 pm |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2906 Location: Rotterdam, The Netherlands
|
 Re: Limits?
Not sure about the header files. I have a program that uses 10 of them but it does have 135 functions, it compiles without any issues. I think the function limit is set to 140 now. You also have access to 20 tasks.
Regards, Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Sat Oct 17, 2009 3:54 am |
|
 |
|
Dick Swan
Creator
Joined: Fri Feb 09, 2007 9:21 am Posts: 613
|
 Re: Limits?
Version 2.0 is also smarter in assigning "slots" to functions. Unreferenced functions should not count against the limit of total functions allowed. This means if you have an include file with dozens of functions and only two of them are used that only these two are part of the download to the NXT; the unreferenced functions do not "eat up" flash memory on the NXT.
|
| Tue Dec 01, 2009 3:38 am |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 6 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
|
|