do

From Bohemia Interactive Community
Revision as of 07:14, 16 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Categories:

while do code

Operand types:

while: While Type

code: String

Type of returned value:

Nothing

Description:

Repeat code while condition is true.

Note: Maximum repeat count for loop is 10000.

If condition is still true after loop was repeated 10000 times, loop is terminated and error message is shown.

Example:

while "a>b" do {a=a+1}