Page 1 of 1

Switch Component

Posted: Wed Mar 10, 2021 2:14 pm
by alanwms
Hello Ben.

I have a switch component looking for 01, 02, 03 etc and notice that anything above 08 creates an error and will not accept the entry. Will this stay or is it an issue?

Re: Switch Component

Posted: Wed Mar 10, 2021 2:45 pm
by LeighM
Do you mean a switch statement value compare?
If so then you need to drop the 0 prefix, it represents octal format, 08, 09 etc are not valid octal values.

Re: Switch Component

Posted: Wed Mar 10, 2021 4:48 pm
by alanwms
Got it - Thanks!