I actually use a slight variation of it. Because J defines '~Projects' in
the default UserFolders_j_, I usually do something like:

    load '~Projects/myproj/foo.ijs'

This works most of the time but if I ever rename the project folder to
something else, I'd have to visit all such places and update. And you have
to add a .jproj file in the project folder to make this work.


On Mon, May 30, 2022 at 3:15 PM chris burke <[email protected]> wrote:

> Right, but it depends on what you are doing.
>
> If writing an addon, then you could define:
>
>   path=: jpath '~addons/zerowords/tgsjo'
>
> Otherwise, define a foldername and use that.
>
> On Mon, May 30, 2022 at 11:33 AM Raul Miller <[email protected]>
> wrote:
>
> > On Mon, May 30, 2022 at 2:00 PM chris burke <[email protected]>
> wrote:
> > > But if you want several scripts, you could load them without needing
> > > tgsjopath like:
> > >
> > >   load 'zerowords/tgsjo/tgsjoalias'
> >
> > In that example, that bit of code predates the use of the github addon
> > mechanism.
> >
> > But, also, in some other cases we would have media files.
> >
> > Thanks,
> >
> > --
> > 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

Reply via email to