"Michele" <····@spm.it> writes:
> It's possible displaying a list with more tha ten elements.
This is as vague as can be IMHO. Here's what my LispWorks did:
CL-USER 1 > (setf lis '(1 2 3 4 5 6 7 8 9 10 11))
(1 2 3 4 5 6 7 8 9 10 11)
CL-USER 2 > lis
(1 2 3 4 5 6 7 8 9 10 11)
Yes I can see a list with more than 10 Elements.
Regards
Friedrich
"Michele" <····@spm.it> writes:
> It's possible displaying a list with more tha ten elements.
You probably want to look at some of the printer control
variables. For instance (CMUCL):
* (describe '*print-length*)
*PRINT-LENGTH* is an external symbol in the COMMON-LISP package.
It is a special variable; its value is 5.
Special documentation:
How many elements to print on each level. Unlimited if null.
* (let ((*print-length* 2)) (princ '(1 2 3 4 5)))
(1 2 ...)
(1 2 3 4 5)
* (let ((*print-length* 20)) (princ (loop for x from 1 to 15 collect x)))
(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
Christophe
--
Jesus College, Cambridge, CB5 8BL +44 1223 524 842
(FORMAT T "(·@{~w ········@{~w~^ ~})" 'FORMAT T "(·@{~w ········@{~w~^ ~})")