ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   6 Iteration   6.1 The LOOP Facility   6.1.4 Termination Test Clauses

6.1.4.1 Examples of REPEAT clause

 (loop repeat 3
       do (format t "~&What I say three times is true.~%"))
 What I say three times is true.
 What I say three times is true.
 What I say three times is true.
  NIL
 (loop repeat -15
   do (format t "What you see is what you expect~%"))
  NIL

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2012 - File last updated 02-24-2012