Basic HTML version of Foils prepared 16 June 98

Foil 33 The do...while Statement

From Overview of Advanced JavaScript -- Web Scripting Language CPS616 Technologies of the Information Age -- Spring Semester 98. by Tom Scavo,Geoffrey C. Fox

More Iteration for Foil 33
A do...while loop tests its condition at the bottom of the loop: do { statements } while ( condition );
In this case, the statements in the loop body are guaranteed to execute at least once
This loop is new in JavaScript 1.2 and JScript 3.0



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998