MacroPackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

while

Arguments: condition &rest forms

Evaluates forms repeatedly until condition (which should be a Lisp form) evaluates to nil.

The definition of while is

(defmacro while (condition &rest forms)
  `(loop (unless ,condition (return)) ,@forms))

Note that loop surrounds its body with a block named nil (as used by the return form which is the consequent of the unless form). This macro returns nil.

See also until.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version