The response is not wasteful. By default, undefined variables are assumed to be verbs, to allow for building a verb top down eg:
center =: - mean NB. mean not defined here. mean =: +/%# If you would enter "center" followed by a return, you do want to see the hook you just created. The same goes for x and y, which are only considered "special" in explicit functions. 2014-11-19 9:51 GMT+01:00 Linda Alvord <[email protected]>: > But you only get thie "wastegul" response if you are in a new environment > where x and y are unassigned and you want to know the name of the verb. > > Linda > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Raul Miller > Sent: Wednesday, November 19, 2014 3:41 AM > To: Beta forum > Subject: Re: [Jbeta] Names would be Nice > > If x*y was 'times' what would 2*x*y be? What would (x*y)-1 be? > > Also, try this: > 9!:3]4 > x*y > > Or, this: > x=: 2 > y=: 3 > x*y > > Or, if that is still a waste, consider the possibility of doing something > which does not involve a computer - maybe that would be less wasteful? > > Thanks, > > -- > Raul > > > > > > On Wed, Nov 19, 2014 at 3:15 AM, Linda Alvord <[email protected]> > wrote: > > > Bill, Here's what I mean: > > > > Current response in terminal: > > > > *y > > * y > > x*y > > x * y > > > > What if the response was: > > > > *y > > Signum > > > > X*y > > times > > > > To me it seem like a wasted response. > > > > Linda > > > > > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of bill lam > > Sent: Monday, November 17, 2014 4:44 AM > > To: [email protected] > > Subject: Re: [Jbeta] Names would be Nice > > > > this page may be interesting to you, > > http://www.jsoftware.com/jwiki/Guides/Primitives > > > > the location of the script primitiv.ijs had been moved to addons since > J7. > > > > > > On Mon, Nov 17, 2014 at 5:36 PM, Linda Alvord <[email protected]> > > wrote: > > > In a term or in jijx, you can get definitions: > > > > > > > > > > > > able > > > > > > 1 : (':'; '(((#~LF-.@e.])5!:5<''u'');,.y),.({.;}.)":x,y u/x')~ > > > > > > > > > > > > toupper > > > > > > 3 : 0 > > > > > > x=. I. 26 > n=. ((97+i.26){a.) i. t=. ,y > > > > > > ($y) $ ((x{n) { (65+i.26){a.) x}t > > > > > > ) > > > > > > > > > > > > It seems that it might be possible to have theses and all entries > > > provide the name of the verb. Then you could go to socurces to find > > > information much more quickly than when you don't know or remember the > > name. > > > > > > > > > > > > * > > > > > > * > > > > > > *. > > > > > > *. > > > > > > *: > > > > > > *: > > > > > > x* > > > > > > x * > > > > > > x*. > > > > > > x *. > > > > > > x*: > > > > > > x *: > > > > > > ;: > > > > > > > > > > > > Linda;: > > > > > > > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
