|
Re: Vision With GRIP
Oh, I didn't see that quirk in the code (kids- always format your code in code blocks)
retrieveValue works like alot of C functions where it requests a pointer to put data into rather than returning the data itself (for reasons). The first argument is the name of the key (similar to how youd use getNumber(key,default)). The second argument isnt the argument but rather the variable that the return value will be placed into.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
|