edit 'verbname' works in j6, I use it there relatively often. I think I remember some discussion about making it work in jhs.
A limitation of edit is that it needs an unambiguously defined editor for J to use to do the editing. A related issue is that we have a tradition of integrating the language's capabilities with the environment, and the windows console (for example) does not include an unambiguously defined editor. (Unix consoles might, but jconsole is more of a bootstrap environment than an integrated environment.) Similarly, edit under jhs would face several ambiguities. Here's a rough draft of a version of edit for jhs: edit=:3 : 0 open ;(4!:4 boxopen y) { 4!:3'' ) Thanks, -- Raul On Thu, Jan 16, 2014 at 9:19 AM, Brian Schott <schott.br...@gmail.com> wrote: > Ian, > > I have been using J for some time and was not aware of `edit`, so I wonder > where it is promoted? My consternation at your message was continued when I > only tried using `edit` in jconsole, and it did not work. > > Btw, thanks for this email contribution. > > 9!:14'' > j701/2011-01-10/11:25 build: Feb 6 2011 16:16:29 > 9!:12'' > 5 > > > On Wed, Jan 15, 2014 at 4:43 PM, Ian Clark <earthspo...@gmail.com> wrote: > >> @jasmine - it's hard to know how to do better than >> edit 'stdlib' >> or for a particular verb: >> edit 'splitstring' >> because the scripts are well-commented. And they have the vast advantage of >> keeping themselves up-to-date -- a biiiiiiiig problem with jwiki. >> >> > -- > (B=) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm