newLISP Fan Club

Forum => newLISP in the real world => Topic started by: Maurizio on September 10, 2007, 02:31:45 AM

Title: Problems with Dump ?
Post by: Maurizio on September 10, 2007, 02:31:45 AM
Just experimenting...

Seems that Dump interrupts dotimes evaluation



D:Temp>newlisp

newLISP v.9.2.0 on Win32, execute 'newlisp -h' for more info.



> (dotimes (x 5) (dump 'a))

(4150824 69 4145160 4145160 4177016)

>



Regards

Maurizio
Title:
Post by: Lutz on September 10, 2007, 08:30:22 AM
'dump' does not print, what you see is the return value from the 'dotimes' loop. This way you can see all of them:


> (dotimes (x 5) (println (dump 'a)))
(260032 69 253952 253952 3158112)
(260032 69 253952 253952 3158112)
(260032 69 253952 253952 3158112)
(260032 69 253952 253952 3158112)
(260032 69 253952 253952 3158112)
(260032 69 253952 253952 3158112)
>


Lutz
Title:
Post by: Maurizio on September 11, 2007, 02:45:36 AM
Thank you very much

Maurizio