Examples of REPEAT clause (ANSI and GNU Common Lisp Document)

Next: Examples of ALWAYS, Previous: Termination Test Clauses, Up: 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