please dont rip this site

Microsoft® Visual Basic® Scripting Edition
Do...Loop Statement
Language Reference |

See Also


Description
Repeats a block of statements while a condition is True or until a condition becomes True.

Syntax
Do [{While | Until} condition]
    [statements]
    [Exit Do]
    [statements]
Loop

Or, you can use this equally valid syntax:

Do
    [statements]
    [Exit Do]
    [statements]
Loop [{While | Until} condition]

The Do...Loop statement syntax has these parts:

Part Description
condition Numeric or string expression that is True or False. If condition is Null, condition is treated as False.
statements One or more statements that are repeated while or until condition is True.
Remarks
The Exit Do can only be used within a Do...Loop control structure to provide an alternate way to exit a Do...Loop. Any number of Exit Do statements may be placed anywhere in the Do...Loop. Often used with the evaluation of some condition (for example, If...Then), Exit Do transfers control to the statement immediately following the Loop.

When used within nested Do...Loop statements, Exit Do transfers control to the loop that is one nested level above the loop where it occurs.


© 1996 by Microsoft Corporation.
file: /Techref/language/asp/vbs/vbscript/367.htm, 3KB, , updated: 2001/12/5 09:50, local time: 2024/11/9 17:29,
TOP NEW HELP FIND: 
52.14.135.68:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/language/asp/vbs/vbscript/367.htm"> Microsoft&reg; Visual Basic&reg; Scripting Edition </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .