|
Re: Parameters file for quick code updates
Quote:
Originally Posted by ajlapp
How would you handle Boolean values? Would you have a separate array with just booleans, or maybe add a boolean value to the current cluster?
|
I would set them as 1 or 0, then convert the Double back to a Boolean.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|