De interface van VDS Renaissance is in meerdere talen beschikbaar. De officiële documentatie wordt in het Engels onderhouden om één consistente en altijd actuele referentie te garanderen.

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)

See also