On Sat, Dec 17, 2016 at 11:51:04PM +0100, Joh-Tob Schäg wrote:
> There is no (efficient) way to find the symbol (1 2 3) is bound to. So
> would you have to know the symbol all the time.
>
> (de add-to-global-list (Sym Value)
>(setq Sym (cons Value Sym)))
> (de delete-from-global-list (Sym)
>
Why not use the idea i presented?
The one using fill?
Do you understand it?
2016-12-18 0:25 GMT+01:00 dean :
> Thank you Joh-Tob...I'll have a good look at that because ultimately I do
> want to use picolisp objects.
> I just came back to say that changing the argument name from *L (also the
> g
Thank you Joh-Tob...I'll have a good look at that because ultimately I do
want to use picolisp objects.
I just came back to say that changing the argument name from *L (also the
global symbol) to Larg seemed to crack this. It's as if...given a conflict
between a global symbol and a local argument s
For the case:
(setq A ( 1 2 3 ))
There is no (efficient) way to find the symbol (1 2 3) is bound to. So
would you have to know the symbol all the time.
(de add-to-global-list (Sym Value)
(setq Sym (cons Value Sym)))
(de delete-from-global-list (Sym)
(setq Sym (cdr Sym)))
But i guess you do
Thankyou Alex...I'm going to have a good look at this
Best Regards
Dean
On 17 December 2016 at 21:01, Alexander Burger wrote:
> Hi Dean,
>
> On Sat, Dec 17, 2016 at 06:02:29PM +, dean wrote:
> > #{Is it possible to change a list AND keep it's name the same at
> different
> > program levels}#
Hi Dean,
On Sat, Dec 17, 2016 at 06:02:29PM +, dean wrote:
> #{Is it possible to change a list AND keep it's name the same at different
> program levels}#
> (setq L '(a))
> (de doit_temp (L) (prog (setq L (append L '(b))) (prinl "inside of fn L is
> " L)) )
> (de doit_perm (L) (setq NewL (app
#{Is it possible to change a list AND keep it's name the same at different
program levels}#
(setq L '(a))
(de doit_temp (L) (prog (setq L (append L '(b))) (prinl "inside of fn L is
" L)) )
(de doit_perm (L) (setq NewL (append L '(b
(doit_temp L)
(prinl "outside of fn L is " L)
(doit_perm L)
(p
Ok thank you for that
On 16 December 2016 at 21:02, Joh-Tob Schäg wrote:
> Maybe can hepl you with that it inserts 15 numbers with different keys and
> prints the result after each insert or at least it should. Could not try it