For example :Originally posted by taxes
Hi Pirate,
REf. my first response to you.
"I find that your code works all the time. Why do you say "Halfway"?"
Any enlightenment? Bearing in mind my subsequent comments on the MSDN notes.
When a = 0 and b =1
If I check this case like this
VB Code:
Select Case a AndAlso b Case a = 0, b = 0 msgbox "first case" Case a = 0, b = 1 msgbox "second case" End Select
This would returns msgbox "first case" . Because it evaluates a as true and forget about the rest .





Reply With Quote