Christopher McIntosh <thegeeko61@...> writes:

> When defining global variables named "x" or "y" they do not show up when
> using the *names* verb (and its associated verb, *nl*) from the z library.
> ... 
> This also affects the *e.* verb.

Eureka!

This is definitely a bug!  After digging and digging, here are the plain facts:
  1)  From within jgtkide, define global nouns m, n, x, y, u, and v.
  2)  Use the namelist, formatted namelist, and selective namelist verbs.  
(These 
verbs are highlighted in the stdlib.ijs file located in the repo at 
http://www.jsoftware.com/trac/base7/browser/trunk/main/main/stdlib.ijs)
  3)  The selective namelist and formatted namelist have a bug, in that they 
neglect to identify the x and y globals.  Their relative, namelist, however 
behaves as expected.  In both monadic and dyadic forms, namelist displays the 
variables of interest.

I am gaining better comfort with this library...  Life is good.

Notes:
  selective namelist = nl
  formatted namelist = names
  namelist           = namelist (of which both forms are flawless)



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to