This may or may not add to the story.
NB. no global assignment of g.
a=:1 :0
g=.u
g y
)
g a 1
|stack error: g
| g y
] a 1
1
k a 1
|value error: k
| g y
On Fri, Nov 4, 2016 at 12:52 AM, Xiao-Yong Jin <[email protected]>
wrote:
> Is the following a bug?
>
> g=:]
> a=:1 :0
> g=.u
> g y
> )
> g a 1
> |stack error: g
> | g y
> a=:1 :0
> f=.u
> f y
> )
> g a 1
> 1
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm