Code: Select all
!T::
{
test_str := 'a'
switch(SwitchValue:=test_str, CaseSense:='Off')
{
case 'a': MsgBox('1')
case 'b': MsgBox('2')
default: MsgBox('0')
}
}
Only with `CaseSense:='Off'` removed, 1 would pop up as expected.
[Mod action: Topic moved from "Bug Reports" since it is not a bug.]