please dont rip this site
Microsoft® JScript™
for Statement
 Language Reference 
Version 1 

See Also


Description
Executes a block of statements for as long as a specified condition is true.
Syntax
for (initialization; test; increment)
    statement

The for statement syntax has these parts:

Part Description
initialization An expression. This expression is executed only once, before the loop is executed.
test A Boolean expression. If test is true, statement is executed. If test if false, the loop is terminated.
increment An expression. The increment expression is executed at the end of every pass through the loop.
statement The statement to be executed if test is true. Can be a compound statement.
Remarks
You usually use a for loop when the loop is to be executed a specific number of times. The following example demonstrates one.
/* i is set to 0 at start, and is incremented by 1 at the end 
of each iteration. Loop terminates when i is not less 
than 10 before a loop iteration. */

for (i = 0; i < 10; i++) 
{                        
  j *= i;                
}


© 1997 by Microsoft Corporation. All rights reserved.

See also:


file: /Techref/inet/iis/jscript/htm/js752.htm, 3KB, , updated: 2008/1/31 15:52, local time: 2017/12/17 05:49,
TOP NEW HELP FIND: 
54.196.201.241:LOG IN

 ©2017 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://www.sxlist.com/techref/inet/iis/jscript/htm/js752.htm"> for Statement</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 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 sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to www.sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .