An example of a shared noun is in the break script. See verb break. bin/jbreak.bat uses it to interrupt a running program. This does it at the nuts and bolts level. The lab should give better examples, but this shows it can be done.
On Wed, Apr 27, 2016 at 4:01 PM, Raul Miller <[email protected]> wrote: > You might be interested in J's mapped files lab. > > (in jqt 804: Help -> Studio -> Labs... / Category: System / Mapped Files > / Run) > > Thanks, > > -- > Raul > > > On Wed, Apr 27, 2016 at 5:37 PM, Louis de Forcrand <[email protected]> > wrote: > > I agree that niladic functions are dispensable. After all, since any > (normal?) verb v returns a noun, a self-updating noun could simply be > written as (v ''). > > It is an expression, but it evaluates to a noun and is enclosed in > parens, so I don't see much of a difference. And simpler is usually better. > > > > Nevertheless, I am curious as to how one would create an actual > self-updating noun. I don't know much about m-mapped files; would a J noun > "point" to one? > > > > Thank you, > > Louis > > ---------------------------------------------------------------------- > > 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
