Page 1 of 1

switch - confusing behaviour with numeric strings

Posted: 21 Aug 2019, 04:35
by Helgef
This behaviour is confusing:

Code: Select all

switch '1' 
{
	case '1.0': msgbox '1.0' == '1' ; Shows 0
}
the behaviour of == is preferable imo.
Cheers.

Re: switch - confusing behaviour with numeric strings  Topic is solved

Posted: 24 Sep 2019, 02:22
by lexikos
Fixed in v2.0-a105.