ToC | DocOverview | CGDoc | RelNotes | Index | PermutedIndex
| Allegro CL

| ANSI Common Lisp 6 Iteration 6.1 The LOOP Facility 6.1.5 Unconditional Execution Clauses ### 6.1.5.1 Examples of unconditional execution
    ;; Print numbers and their squares.
    ;; The DO construct applies to multiple forms.
     (loop for i from 1 to 3
           do (print i)
              (print (* i i)))
    1
    1
    2
    4
    3
    9
      NIL

© Franz Inc. 1998-2019 - File last updated 02-07-2019