There is a description of PUBLIC_j_ and how to add to it in J for C Programmers.

http://www.jsoftware.com/help/jforc/odds_and_ends.htm#_Toc191734549

The spelling (case) does need updating for J7 though. I found this by
using Find in Files to search ~addons/docs/help for PUBLIC_j_

As for where and when it is defined... the definitions are available
in ~system/util/scripts.ijs. The buildpublic verb is defined in
stdlib.ijs and the scripts.ijs script is loaded after booting
stdlib.ijs in ~system/util/boot.ijs

The locations of these in the source scripts are:
http://www.jsoftware.com/trac/base7/browser/trunk/main/config/scripts.ijs
http://www.jsoftware.com/trac/base7/browser/trunk/main/jade/load.ijs

None of that info is really relevant to new users though. The method
described by Henry in JforC (add to Public_j_ by using buildpublic in
your startup.ijs) can be used to extend Public_j_ for your own use.
However, as Devon has noted, extensive use of your own custom aliases
may cause headaches with code portability.

On Fri, Mar 4, 2011 at 5:07 AM, Murray Eisenberg <[email protected]> wrote:
> for J701, in what script is Public_j_ defined?
>
> I searched but couldn't find its definition. Nor could I find
> documentation about it.
>
> --
> Murray Eisenberg                     [email protected]
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower      phone 413 549-1020 (H)
> University of Massachusetts                413 545-2859 (W)
> 710 North Pleasant Street            fax   413 545-1801
> Amherst, MA 01003-9305
> ----------------------------------------------------------------------
> 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