0102: Switch statement needs a variable
Last updated
Last updated
Compiler expected a to follow the 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 -variable starting with &
. See the documentation on for more information.