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