Thanks Ric (and Oleg). Word: scriptdoc was exactly what I was looking for.

I appreciate a wiki page for locale z could never be guaranteed
complete, or reliable.

Ian


On Sat, Oct 17, 2009 at 1:49 AM, Sherlock, Ric
<[email protected]> wrote:
> Many(/most) of the words that are defined in the z locale in a 
> freshly-started J session are defined in the stdlib.ijs script and most of 
> them are described there. Of course once you start loading scripts, then all 
> sorts of words may end up in the z locale.
>
> If you are using the IDE (rather than jconsole) then you could use one of the 
> following methods to get information on a script/word of interest.
>
> A) Type: scriptdoc 'stdlib'  NB. opens a scriptdoc window which summarizes 
> the comments in a script.
>
> B) Use: names_z_'' to list all the names defined in z. Place the cursor "in" 
> the word of interest and press Ctrl+F1. NB. Same result as A, but you don't 
> need to know the name of the script that the word comes from.
>
> C) Type: edit 'assert'  NB. opens the script where assert is defined at the 
> start of the definition. You may need to scroll back a few lines to get the 
> descriptive information.
>
> D) The namedoc utility "http://www.jsoftware.com/jwiki/OlegKobchenko/Namedoc"; 
> from will display the comments for a word in the session. (Works with 
> jconsole too).
>
>> From: Ian Clark
>> Right... I could do the "names" bit. I just want to direct readers to
>> elementary documentation on each word.
>> Most of them lack an explanatory NB. --the counterpart of the standard
>> APL line [1] comment.
>>
>> I once saw a wiki page listing the contents of z (with 1-line
>> explanations) but it wasn't up-to-date. And anyway I can't find it
>> again.
>>
>> (And of course there's a similar question in my mind regarding the
>> Library scripts.)
>>
>> Ian
>>
>>
>> On Sat, Oct 17, 2009 at 12:50 AM, Raul Miller <[email protected]>
>> wrote:
>> > On Fri, Oct 16, 2009 at 7:46 PM, Ian Clark
>> <[email protected]> wrote:
>> >> Where am I supposed to find an up-to-date table of z locale contents
>> >
>> >   names_z_''
>> >
>> >> with a single line statement of what each word does?
>> >
>> > Am not sure about this part
>> >
>> > --
>> > Raul
>> > ---------------------------------------------------------------------
>> -
>> > 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to