Re: [Jprogramming] Need help with defining a verb

2014-08-31 Thread 'Pascal Jasmin' via Programming
:46:00 AM Subject: Re: [Jprogramming] Need help with defining a verb Apply 4!:3 to the result of a verb rather than a noun. This delays execution. whichscript =: ((<'Not from script') ,~ 4!:3@(0&#)) {~ 4!:4@boxopen Henry Rich On 8/31/2014 11:37 AM, Vijay Lulla wrote: > Dear J

Re: [Jprogramming] Need help with defining a verb

2014-08-31 Thread Vijay Lulla
Nice. Thank you. On Sun, Aug 31, 2014 at 11:46 AM, Henry Rich wrote: > Apply 4!:3 to the result of a verb rather than a noun. This delays > execution. > > whichscript =: ((<'Not from script') ,~ 4!:3@(0&#)) {~ 4!:4@boxopen > > Henry Rich > > > On 8/31/2014 11:37 AM, Vijay Lulla wrote: > >> Dea

Re: [Jprogramming] Need help with defining a verb

2014-08-31 Thread Henry Rich
Apply 4!:3 to the result of a verb rather than a noun. This delays execution. whichscript =: ((<'Not from script') ,~ 4!:3@(0&#)) {~ 4!:4@boxopen Henry Rich On 8/31/2014 11:37 AM, Vijay Lulla wrote: Dear J-ers, How would I define a verb 'definedwhere' which finds out where a particular item

[Jprogramming] Need help with defining a verb

2014-08-31 Thread Vijay Lulla
Dear J-ers, How would I define a verb 'definedwhere' which finds out where a particular item got defined? I.e. using 4!:3 and 4!:4 utilities...but dynamically. For e.g., definedwhere 'nl' /Users/v/j64-802/system/main/stdlib.ijs NB. This is similar to (4!:4 <'nl') { 4!:3'' /Users/v/j64-8