Repeat it.
This function repeats the statements by number of times, where number is a positive integer.
Example
| Code | Returns |
|---|---|
| (setq x 2) | |
| (setq y 12) | |
| (repeat 3 | 1500 |
| (setq x (* x 5) | x is now set to 250. |
| (setq y (* y 5) | y is now set to 1500. |
| ) |
Tell me about...
(cond (statement1 result1 ...) ...)
(if test statement1 [statement2])
(setq symbol1 statement1 [symbol2 statement2] ...)
Programming Overview of LISP (LISt Processing) Language
| Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |