Re: Cannot understand (setq *Bye '(…))

2014-05-08 Thread Jon Kleiser
Thanks, Danilo. So the explanation is that the (push1 '*Bye '(saveHistory)), which is found in *Led and executed after each new command line in debug mode, makes sure that the (saveHistory”) is always found in *Bye (up front). /Jon On 7. May, 2014, at 22:46, Danilo Kordic

Cannot understand (setq *Bye '(…))

2014-05-07 Thread Jon Kleiser
Hi, I'm using 32-bit PicoLisp (3.1.6.8 C) doing this: : *Bye - ((saveHistory)) : (setq *Bye '((println 'OK) (println 'bye))) - ((println 'OK) (println 'bye)) : *Bye - ((saveHistory) (println 'OK) (println 'bye)) : (setq X '((XXX))) - ((XXX)) : (setq X '((println 'OK) (println 'bye))) - ((println

Re: Cannot understand (setq *Bye '(…))

2014-05-07 Thread Danilo Kordic
Magic is in *Led. Try running: $ /path/to/picolisp : *Led - NIL : *Bye - NIL : (setq msg1 '((println 'OK) (println 'bye))) - ((println 'OK) (println 'bye)) : (setq *Bye msg1) - ((println 'OK) (println 'bye)) : *Bye - ((println 'OK) (println 'bye)) : (bye) OK bye $