Error using switch and Int32 variables

studio

#1

I have a switch where I want to use int32 cases against an int32 expression. Now I can put a hard-coded int in the case no problem, but when I go to insert a variable which represents an int32, it says “variableName is not a valid value for Int32”. The variable I’m using is in scope and they are set prior to the switch.


#2

Hello @blueprintChris,

You could not use variables in the case Value :frowning:

Regards,
Susana