VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。
REPEAT
Windows ✓Linux ✓macOS ⏳
Syntax
REPEAT
... commands ...
UNTIL <string>
Description
Commands between REPEAT and UNTIL are repeatedly executed until the result of <string> evaluates to non-null (true).
REPEAT commands may be nested. For clarity it is a good idea to indent the commands nested within REPEAT ... UNTIL as shown in the example. REPEAT and GOSUB commands may be nested to a maximum of 16 levels.
Tip: Never use the GOTO command to branch out of a REPEAT ... UNTIL pair of commands.
OK
Unchanged.
Example
REPEAT
%A = @SUM(%A,1)
UNTIL @EQUAL(%A,6)