[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SYMTAB update inside function calls
From: |
arnold |
Subject: |
Re: SYMTAB update inside function calls |
Date: |
Tue, 12 Dec 2023 00:46:57 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Hi.
The locals go into the same symbol tabale as the globals,
so LOCALS["var"] isn't possible. It's an interesting side effect
that the locals also hide the globals in SYMTAB but it makes
sense when you think about it.
Thanks,
Arnold
M <c24p0101@gmail.com> wrote:
> Il giorno lun 11 dic 2023 alle ore 19:41 <arnold@skeeve.com> ha scritto:
>
> > Hello.
> >
> > It's not a bug. The parameters shadow the global variables. Try
> > this version:
> >
>
> Yes... re-reading that seem just a stupid question :D sorry for the noise.
> ...thinking about that, i wonder if there's some way to access local
> symbols in a symtab's fashion, something like (invented) LOCALS["var"].
> Not sure if usefull at all, just a curiosity.
>
>
> Thanks,
> M.
>
>
>
>
> --
> me -> http://crap0101.altervista.org/