Isn’t that code similar of what Mike posted? (as both using Asc)
//Mike's code
var st as string = "m"
select case asc(st)
case asc("M")
msgbox ("wrong")
case asc("m")
msgbox ("right")
end select
more than 4 hours before Carl?
Isn’t that code similar of what Mike posted? (as both using Asc)
//Mike's code
var st as string = "m"
select case asc(st)
case asc("M")
msgbox ("wrong")
case asc("m")
msgbox ("right")
end select
more than 4 hours before Carl?
Asc is workaround for Char, not String. For String one must find another way.
I mean cases like:
Var st As String = "J023H12"
Select Case st
Case %"J023h12"
FixSpecialOldCode()
Case %"J023H12"
ProcessSpecialCode()
End Select
Please file a feature request.
As this topic has been solved, I am closing it. Thanks all for your participation.