Here is how to reproduce:
  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)

I would expect that the results of all three verbs would be the same (except, 
perhaps, w.r.t. formatting).

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

Reply via email to