I guess
9!:3 ''
means you are asking the definition to be hidden which is ok by me

2008/10/2 Devon McCormick <[EMAIL PROTECTED]>

> 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
>



-- 
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf,
Þerneyjarsundi 23, Hraunborgum
Po Box 127,801 Selfoss ,
t-póst: [EMAIL PROTECTED]
gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
         /|_      .-----------------------------------.
        ,'  .\  /  | Með léttri lund verður        |
    ,--'    _,'   | Dagurinn í dag                     |
   /       /       | Enn betri en gærdagurinn  |
  (   -.  |        `-----------------------------------'
  |     ) |        (\_ _/)
 (`-.  '--.)       (='.'=)
  `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to