Thread: For....Loop
View Single Post
  #5 (permalink)  
Old February 9th, 2005, 03:29 PM
kliu9 kliu9 is offline
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Matthew -

This works! Thank you.

Kathy


Quote:
quote:Originally posted by mjppaba
 for myloop = 1 to 10 step 1
'processes go here...

if myprocess = false then goto endloop else continue...

EndLoop:
next

Using a label just before the cloisure of the next/loop functionality will allow you to conduct the tests and if a false result is the outcome you point to the EndLoop: label thus skipping any unwanted code.

Cheers
Matthew

Reply With Quote