WLJS LogoWLJS Notebook

Until

Until[test, body] evaluates body and then test, repetitively, until test first gives True.

Examples

Repeat until condition is met:

n = 0;
Until[n > 5, n++];
n
(* 6 *)

The body is always executed at least once.

Please visit the official Wolfram Language Reference for more details.

On this page