MacroPackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version