[HARLEQUIN][Common Lisp HyperSpec (TM)] [Previous][Up][Next]


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


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996, The Harlequin Group Limited. All Rights Reserved.