Home Features FAQ Pricing About Us Contact Us Web Site Monitoring: Website Monitor & Server Monitoring
Web Server Monitoring
Login

E-mail:

Password:



Secure Login
Lost Password

See Also

while

The while loop allows iteration an unknown number of times. Note that scripts will only execute a maximum of 5,000 commands before generating a runtime error. This is to keep any script from running out of control.

You can use the 'begin' keyword in place of the statement to execute multiple commands on each iteration. Be sure to terminate the loop with an 'end' statement:

while $N != 10 begin .... end

usage: while [expr] loop [statement] [;] [statement...]

parameters:

req name type description
Y expr expression Expression evaluated before each iteration
Y statement statement The command(s) to execute on each iteration of the loop

examples

while $N != 10 loop $N = $N + 1

Increments the variable N until its value is equal to 10.


Alertra Script Language: Language Reference


Device Status

Not logged in.

What's This?


Web Site Monitoring · Security Scan · Features · FAQ · Pricing · About Us · Contact Us · Site Map

Copyright © 2000-2008 Alertra, Inc. All rights reserved. Please read our privacy statement and our terms of service.