I just have some trouble to remember the meaning of the form load 'format/zulu/bare'
is it ~addons/format/zulu/bare.ijs or ~addons/format/zulu/bare/bare.ijs so I prefer avoid it. ymmv. Срд, 19 Сен 2012, Ian Clark писал(а): > I thought you'd say that, Ric, because your wiki pages make good use > of it... :-) > > I 80%-agree with you. If zulu-lite and zulu-bare earn themselves no > friends, then it's the way to go. Mind you, I can do that now, exactly > as you say, and not disturb the foundations of zulu-lite or zulu-bare. > Then I could cut their silly throats at leisure... > > Right-- it's on my to-do list. > > (How do you withdraw an addon?) > > On Tue, Sep 18, 2012 at 9:39 PM, Ric Sherlock <tikk...@gmail.com> wrote: > > On Wed, Sep 19, 2012 at 7:52 AM, Ian Clark <earthspo...@gmail.com> wrote: > >> > >> Yes, I too would like to combine the whole thing in one single addon. > >> You'll recall the extensive correspondence (17 posts) that followed my > >> original proposal to do just this, and how best to do it? > >> > >> http://www.jsoftware.com/pipermail/programming/2012-September/029259.html > >> The LAPACK way would be to keep separate "loader" scripts in > >> format/zulu and run them like this: > >> load 'format/zulu/lite' > >> load 'format/zulu/bare' > >> ...etc. > >> I can have as many loader scripts as I can fancy a need for. A lot > >> less trouble than releasing and maintaining three separate addons. But > >> I got the hint from the forum that using load/require in this way is > >> "untidy", and that the preferred programmer interface for using any > >> addon is quite simply: > >> load 'category/addon' > > > > I don't think you should see this as untidy. I don't believe that this > > functionality is undesirable or unintended. I suggest you have the > > main/default package named zulu.ijs, but that you include your other > > scripts in the same addon. Then (load 'format/zulu') will work and > > load the script most users will need, but (load 'format/zulu/lite') > > and (load 'format/zulu/bare') will work too if the user needs them. > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > 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