Login | Register   
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
Apr 23, 2001

Prevent Do Loops From Becoming Permanent


This tip is extremely useful in the IDE for debugging.

Before the Do loop you want to make safe, you set the var 'loopnum' as 0. Then, place these two lines inside the loop:
 
If loopnum = 99 Then Err.Raise 
David Sharkey
 
Comment and Contribute

 

 

 

 

 


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

 

 

Sitemap