G
Guest
Hi All,
Does 'Select Case' construct perform logical short-circuiting like the
'OrElse' opeartor or does it function like the 'Or' operator?
For Example:
Dim sTeststr as String
sTeststr = "ABC"
Select Case sTeststr
Case "ABC","DEF","GHI"
....
....
End Select
Is sTeststr compared to all the values in the case, irrespective of whether
or not the value is found before scanning through all the case values?
kd
Does 'Select Case' construct perform logical short-circuiting like the
'OrElse' opeartor or does it function like the 'Or' operator?
For Example:
Dim sTeststr as String
sTeststr = "ABC"
Select Case sTeststr
Case "ABC","DEF","GHI"
....
....
End Select
Is sTeststr compared to all the values in the case, irrespective of whether
or not the value is found before scanning through all the case values?
kd