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    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to