VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。

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