dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Aug 28, 2001

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Use 'With..End With' in Your ASP Scripts


You can use the 'With ... End With' statements if you are using VBScript 5.0 or later. It helps to improve performance.

This runs slower:
 
PersonObj.FirstName = "Sandeep"
PersonObj.LastName = "Gain"
PersonObj.City = "Rajnandgaon"

This runs faster:
 
With PersonObj
	.FirstName = "Sandeep"
	.LastName = "Gain"
	.City = "Rajnandgaon"
End with
Sandeep Gain
 
Thanks for your registration, follow us on our social networks to keep up-to-date