That's nice to know, Stef. I'll check it out. And I bet it makes the implementation of Causeway so much simpler!
I forget what []WATCHPOINTS does about localized variables. Whatever it is, it wasn't what you'd want. You get used to certain things using a facility like this. One of them is to avoid setting watchpoints on vars with names like 'z', whatever it does. On Wed, Jan 26, 2011 at 4:20 PM, Stefano Lanzavecchia <[email protected]> wrote: >> Can I have a facility, please, to make a designated variable post an >> event whenever its value is changed? > >> Dyalog had nothing like it >> -- and Donnelly growled that it was impossible without affecting their >> precious performance metrics. > > That was back in the days... It has it now. It's called "trigger". It's not > based on events but on callbacks. Its behavior may be baffling when > intersected with APL scope rules (is "x" the same "x" I had in the calling > function if I am localizing "x"?). But it's definitely there. > -- > Stefano > > { "I never drink water. I'm afraid it will become habit-forming." --- > W. C. Fields } > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
