Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Jan 28, 1999

Use the Same Name for Your Error Handlers

Older versions of VB required a unique name for your error-handler labels in order to use On Error GoTo <label>. You had to concatenate the module name and routine name to ensure a unique error-handler label. This is no longer true. You can now use something standard, such as ERR_HANDLER, to identify every error handler. This makes them easier to find when reviewing your error handling.
Deborah Kurata
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date