|
Re: static local variables
You can use a user code block and it must be in the first line of the function. Like you mentioned, shown below but you are correct it will not make the variable known. We had this in easyC for FRC 2 years ago and it caused allot of problems with users mis-using it.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
|