On 5/3/10 5:38 PM, Freddy Vulto wrote:
> I think I found a much cleaner workaround.  It looks like a called
> function can really unset local variables in the caller(?!), 

This isn't surprising.  A function could always unset variables at a
higher scope; e.g., a function can unset a variable with global scope.
A local variable has a scope limited to the function where it was
declared and that function's callees.  In effect, the local variable's
"root" is the function where it was declared.  A called function can
unset a variable up to the "root".

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to