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:
if statements
if statements
There are two forms of if statement: if...then..end if and the if...then...else..end if. Like normal basic, if the if expression is true, the statements are executed. If there is else part and expression is false, statements after else are executed.
Examples:
IF J <> 0 THEN Result = I/J END IF
IF J = 0 THEN Exit ELSE Result := I/J END IF
IF J <> 0 THEN
Result = I/J
Count = Count + 1
ELSE
Done = True
END IF