Information may be Out-of-Date


This page about deprecated software versions is shown for
reference purposes only. Information on this page is not
maintained and may no longer be valid.
 

Please find the latest manual for Webserver Stress Tool here:

Manual Webserver Stress Tool (pdf)
 

Navigation: Contents   Index   Previous   Next

while statements

A while statement is used to repeat statements, while a control condition (expression) is evaluated as true. The control condition is evaluated before the statements. Hence, if the control condition is false at first iteration, the statement sequence is never executed. The while statement executes its constituent statement repeatedly, testing expression before each iteration. As long as expression returns True, execution continues.

Examples:

WHILE (Data[I] <> X) I = I + 1 END WHILE

 

WHILE (I > 0)

  IF Odd(I) THEN Z = Z * X END IF

  X = Sqr(X)

END WHILE

 

WHILE (not done)

(**Some code here**)

END WHILE

Navigation: Contents   Index   Previous   Next

This third party content uses Performance cookies. Change your Cookie Settings or

load anyways

*This will leave your Cookie Settings unchanged.