> From: Jonathan Lettvin
> 
> gnuplot "show functions" lists all the currently defined functions.
> I would like to review the current definitions that I have entered.
> I would like to review the set of definitions I have loaded.
> Something like:
>    show avg
> avg=: +/ % #

Is this the sort of thing you are after?

If you want to see a list of the names of definitions that are defined in your 
current locale then type:
names ''

If you want to see the definition of that name just type the name and press 
enter.

So in a new J session:
When you start the J session you are in the "base" locale. It is empty.
   names''                NB. What names are defined? - none!
   avg=: +/ % #           NB. Define verb avg
   vec=: 4 5 3 9 2 3 4    NB. Define noun vec
   names ''               NB. What names are defined?
avg vec 
   avg                    NB. What is the definition of avg?
+/ % #
   vec                    NB. What is the definition of vec?
4 5 3 9 2 3 4


If a name was defined in a script and you want to open that script you can type:
   edit 'fexist'


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to