Switch Component

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
alanwms
Posts: 117
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 2:29 pm
Has thanked: 24 times
Been thanked: 7 times

Switch Component

Post 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?

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 73 times
Been thanked: 218 times

Re: Switch Component

Post 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.

alanwms
Posts: 117
Joined: Fri Dec 04, 2020 2:29 pm
Has thanked: 24 times
Been thanked: 7 times

Re: Switch Component

Post by alanwms »

Got it - Thanks!

Post Reply