I am using CE 21.10.03
I am going through some learning videos and have created the vending state machine.
At one point you select a drink type, I am using a switch based on the drink name to allocate a drink price.
My issue is that although I have changed the switch type to string the switch always goes down the default choice (even though the selected choice is one of the options)
I included a trim on the strDrinkType value as someone with a similar issue found that was the problem (although I don’t think it is in this case as the variable doesn’t have any trailing spaces, which you can see in the locals window of the screen shot)
Attached also is the project folderVendingMachine_Test.zip (4.4 KB)
I’m sure I’m doing something very stupid but can’t see what.