something like this.

ed=: 3 : 0
l=. locEdit_jgtkide_
edit_opentab_show__l y
1
)

ed 'c:/the/script/to/edit.ijs'

you can also specify an optional line number.

ed 'c:/the/script/to/edit.ijs';10;0

Птн, 28 Янв 2011, John Baker писал(а):
> I am in the process of updating JOD for j701.  One of most useful JOD verbs
> is "ed" which fetches a
> a word, (or many words), from JOD databases, formats them as a script, and
> then opens that script for editing in what was a wd (.ijs) window.
> 
> How do you open a script for editing in JGTK from the terminal session?  I
> see the command on the
> JGTK menu so it must be buried in there somewhere.  I would like something
> like:
> 
> editverb 'c:/the/script/to/edit.ijs'
> 
> or
> 
> editverb 'some big long character list that just happens to be a j script'
> 
> Extra points for doing exactly the same thing in the JHS environment -
> opening a new browser tab with an
> arbitrary script for editing.
> 
> 
> jdb
> 
> -- 
> John D. Baker
> bakerj...@gmail.com
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to