02-02-2016 03:40 AM
When I place a case structure, click inside the selector, enter e. g.
0, 1, 2
they don't stay that way but instead turn to
"0", "1", "2"
.
Am I correct that the cases are now of type string instead of int? How can I have cases without the ' " '?
02-02-2016 03:44 AM - edited 02-02-2016 03:45 AM
Yes, if you have wired a string to the case selector, it will display as quote-enclosed strings. The items displayed in the case structure adapt to the type of data wired to the case selector:
An enum will always display as the string value of the enum - if you want to display it as just a number, type-cast it to an appropriate data type (e.g. U8)