From: Andrew McDowell
Subject: Re: dynamic scoping
Date: 
Message-ID: <3D567696.7080003@hotmail.com>
Xenos wrote:
> Calling j() will print '5', then '5' again.

Is it just me, or wouldn't calling j() print '5' and then '1'?

-Drew
From: Xenos
Subject: Re: dynamic scoping
Date: 
Message-ID: <1xw59.107819$8M1.22514077@twister.nyroc.rr.com>
No, because it is changed in i().  i() uses 'a', it doesn't define a new
one.


"Andrew McDowell" <·········@hotmail.com> wrote in message
·····················@hotmail.com...
> Xenos wrote:
> > Calling j() will print '5', then '5' again.
>
> Is it just me, or wouldn't calling j() print '5' and then '1'?
>
> -Drew
>