Die Oberfläche von VDS Renaissance ist in mehreren Sprachen verfügbar. Die offizielle Dokumentation wird auf Englisch gepflegt, um eine einheitliche, konsistente und stets aktuelle Referenz zu gewährleisten.

WHILE

Windows ✓Linux ✓macOS ⏳

Syntax

WHILE <string>

... commands ...

WEND

Description

Commands between WHILE and WEND are repeatedly executed while the result of <string> evaluates to non- null (true). When the string is null script execution continues on the line following WEND.

WHILE commands may be nested. For clarity it is a good idea to indent the commands nested within WHILE ... WEND as shown in the example.

Tip: Never use the GOTO command to branch out of a WHILE ... WEND pair of commands.

OK

Unchanged.

Example

%A = 0
WHILE @GREATER(10,%A)
%A= @SUCC(%A)
WEND

See also