Problems with Dump ?

Started by Maurizio, September 10, 2007, 02:31:45 AM

Previous topic - Next topic

Maurizio

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

Lutz

#1
'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

Maurizio

#2
Thank you very much

Maurizio