L’interface de VDS Renaissance est disponible en plusieurs langues. La documentation officielle est maintenue en anglais afin de garantir une référence unique, cohérente et toujours à jour.

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