> AndAlso...never heard of that. Is it the same as just And?
No its works differently (from msdn):
"A logical operation is said to be short-circuiting if the compiled code can
bypass the evaluation of one expression depending on the result of another
expression. If the result of the first expression evaluated determines the
final result of the operation, there is no need to evaluate the other
expression, because it cannot change the final result. Short-circuiting can
improve performance if the bypassed expression is complex, or if it involves
procedure calls."
"And" used to evaluate both expressions, "AndAlso" works as mentioned above.
Ab.
http://joehacker.blogspot.com
there are better things to discuss like :
http://www.msnbc.msn.com/id/7328143/
"Terry Olsen" <to******@hotmail.com> wrote in message
news:u3****************@TK2MSFTNGP14.phx.gbl...
AndAlso...never heard of that. Is it the same as just And?
"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:uH**************@TK2MSFTNGP10.phx.gbl...
If fi.Exists AndAlso fi.Length > 0 Then ...