bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Associative array initial reference name is made available in


From: Top Dawn
Subject: Re: [BUG] Associative array initial reference name is made available in another context
Date: Mon, 3 Jul 2023 21:54:16 +0200

>
> This is known as dynamic scoping. There is text in the manual describing
> it.
>
Thank you, this was an interesting read. :)

Best,

On Mon, Jul 3, 2023 at 2:59 PM Chet Ramey <chet.ramey@case.edu> wrote:

> On 7/2/23 9:04 AM, Top Dawn wrote:
> >>
> >> What makes you think so? Variables are always visible in invoked
> >> functions, unless you shadow them using local/declare/typeset.
> >>
> >
> > Thank you very much for this information, I didn't know invoked functions
> > inherited their parent functions variables.
>
> This is known as dynamic scoping. There is text in the manual describing
> it.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]