> both verbs load and require come from stdlib, so that either it will fail...

...I see, whereas in j602 they were defined in jadefull.ijs .

>why did you need it?

Because scores of my scripts contain it, and will run unaltered
otherwise. I'd rather not have to go changing (eg)
   require 'files stdlib'
to:
   require 'files'  NB. (I see that works in fact!)
   require '~system/main/stdlib.ijs'
everywhere it occurs. I want to avoid maintaining different versions
of scripts for j602 and j7 as far as feasible.

Since stdlib can be taken for granted, I guess just to ignore it in
require will suffice.


On Sat, Dec 3, 2011 at 1:17 AM, bill lam <bbill....@gmail.com> wrote:
> J7 could be changed to ignore instead of raise an error for it.  However
> both verbs load and require come from stdlib, so that either it will fail
> or just a no-op, why did you need it?
>
> Сбт, 03 Дек 2011, Ian Clark писал(а):
>> Can I offer a suggestion which would assist the porting of j602 code
>> to j7 jhs? ...
>>
>> As it stands,
>>    require 'stdlib'
>> -won't work in j7 jhs: it incorrectly locates: 'stdlib'. Ditto:
>>    require 'stdlib files'
>>    load 'stdlib'
>>
>> Can we have these idioms supported in j7 jhs as they are in j602 please?
>> ----------------------------------------------------------------------
>> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to