How many word-sized variables can the Cortex w/ RobotC handle?

I’m curious how many word-sized variables can be run via RobotC with a Cortex? This is not a competition-oriented question, just curious about the limits of the system to use the Cortex for a science project. Basically, the kids are interested in running an experiment with their robot that stores their data, which they can then read off their LCD one variable at a time. Or, if there is some other way to upload a file of those variables, that would be good to know, too.

Right now they are guessing they might need about 200 to 500 word-sized variables, but I’m worried they might need more.

Thanks.

7500 I think, there’s still some ambiguity between what the compiler reports and what the configuration files imply. Try creating a large array and see what the limits are.

Thanks, jpearman!

As for getting data off the cortex, I found some info here, though I haven’t yet tried it out:
http://www.robotc.net/forums/viewtopic.php?t=5677&p=23739

Yeah just make a global array and keep increasing the size until the compile fails.

Thanks, DrDan,

I was just about to ask about using arrays. You were reading my mind! :slight_smile: