AndAlso did not exist in VB6. When MS developed VB.Net, they added AndAlso
and OrElse rather than changing And and Or because there are cases where
you still want to use And and Or. They also didn't change it because it
would have made it a lot more difficult for people to convert their VB6
projects to VB.Net. They would have to check every single And and Or in a
project if all of them got converted to AndAlso and OrElse logic.
Robin S.
--------------------------------
"stax" <no****@please.nowrote in message news:es**********@online.de...
Who needs and/or anyway? It's pretty lame having to type AndAlso and
OrElse all day long but that's VB .NET
AndAlso -lame
&& -lame
and -good, Boo and IronPython got this right I think
yh****@gmail.com wrote:
>On Mar 7, 6:28 pm, pjsimon <pjsi...@discussions.microsoft.comwrote:
>>You want to use "Short-Circuiting" logic. Use OrElse instead of Or and
AndAlso instead of And.