I have a project that runs in J601 but fails on startup in
the beta. I have rebuilt the project using the 602 project manager.
The error seems to be in the boilerplate at the
start of the file:
NB. standalone defs:
3 : 0 ''
if. 0 = 4!:0 <'PATHSEP_j_' do. return. end.
PATHSEP_j_=: ((9!:12'') e. 6 7) { '/\'
jhostpath_z_=: PATHSEP_j_ & (I. @ (e.&'/\')@] })
jpath_z_=: jhostpath
load_z_=: require_z_=: ]
0
)
boot_z_=: 3 : '0!:0 <jhostpath y'
boot_z_ 'system/main/sysenv.ijs'
boot_z_ 'system/main/stdlib.ijs'
boot_z_ 'system/main/colib.ijs'
boot_z_ 'system/main/winlib.ijs'
***** end of boilerplate *****
The boot_z_ lines fail with a 'file name error'.
In the 601 system they had ~ at the front, to wit
boot_z_ '~system/main/sysenv.ijs'
If I just try to open one of the files as named above, with
open 'system/main/sysenv.ijs'
I get an error dialog that says
C:\Documents and Settings\Henry Rich\Desktop\system\main\sysenv.ijs
is not found. I have no idea why the system is looking there.
That folder does not appear in SYSTEMFOLDERS_j_. The system
is installed in C:\j602. If I
try to open the file on 601, it correctly finds it as a
system script.
I have no idea how all this is supposed to work - can anybody
tell me how to fix it?
Henry Rich
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm