I just noticed this potentially confusing setting allowed by "9!:3" (set
display):

   foo=: 3 : 'p.&>/y'    NB. Define a function
   foo                        NB. Display it
3 : 'p.&>/y'

   9!:3 ''           NB. Oops - probably meant to query the setting with "
9!:2 '' "

   foo              NB. Look at definition -> nothing shows up!

   9!:3]5     NB. Set display to "linear"

   foo         NB. OK now
3 : 'p.&>/y'

Is this behavior intended?
It would be nicer for the mistaken " 9!:3 '' " to give a domain error than
to change the display setting this way.

-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to