Compiler expected a variable to follow the switch keyword but found something else.
switch
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:
switch <var> ... end
<var> can be an integer, float, string variable and also ADMA-variable starting with &. See the documentation on switch for more information.
<var>
&
Last updated 1 year ago