Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using of AndAlso
Message
From
01/09/2011 11:15:53
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01522454
Message ID:
01522478
Views:
24
>If you use And then the second condition will be evaluated even if the first condition is false.
>In your example AndAlso is the better choice since it will be faster if the first condition is false.

Correct, thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform