0102: Switch statement needs a variable
Compiler expected a variable to follow the switch
keyword but found something else.
This error may occur if you use a number or string literal after switch
.
Possible solutions:
check your code and make sure you use a variable in the switch statement:
<var>
can be an integer, float, string variable and also ADMA-variable starting with &
. See the documentation on switch for more information.
Last updated