AndAlso is great for checking if a object is Nothing before doing a check against a value in the object, it's what I use it for most of the time anyways..
If Not (Obj Is Nothing) AndAlso (Obj.Value = "Whatever") Then
Hinder
|
Results 1 to 8 of 8
Thread: And/Or vs AndAlso/OrElseThreaded View
|
Click Here to Expand Forum to Full Width |