MacroPackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

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