[Jprogramming] Problem with jijx
bill lam
bbill.lam at gmail.com
Sat Jan 16 11:25:42 HKT 2010
ven, 15 Jan 2010, Bill Harris skribis:
> NB. load jpath'~user\projects\dsm\cilegacy.ijs'
> NB. load jpath'~user\projects\dsm\ciform.ijs'
> load 'cilegacy.ijs'
> load 'ciform.ijs'
> ciDSM_run''
>
> ========================================================================
>
> in the presumption that it will draw from the pwd. That probably made
> it possible for it to run on someone else's computer, but it
> should have no effect on my installation.
>
The script should know whether it is run inside JIDE or not, eg add
this line in your own profilex.ijs
JDEVELOP_z_=: 1 NB. define JDEVELOP
then load script conditionally,
if. 0= 4!:0 <'JDEVELOP_z_' do.
load jpath'~user\projects\dsm\cilegacy.ijs'
load jpath'~user\projects\dsm\ciform.ijs'
else.
load 'cilegacy.ijs'
load 'ciform.ijs'
end.
To test as someone else, comment that JDEVELOP_z_ line in your
profilex.ijs
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
More information about the Programming
mailing list