Hello Bill,

I tried your suggestion.

I put the code on top of my stand alone script. It works when I load the
file using j.exe -jprofile
  0!:100 <'e:\projects\smarteoe\bin\eoe.ijs'

But it still fails when I do it using C# and/or VB.NET with a "VALUE
ERROR".

r/Alex

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of bill lam
Sent: Wednesday, December 05, 2007 10:14 AM
To: Beta forum
Subject: Re: [Jbeta] J602c Problems

On the "value error" issue, I suspect that BINPATH is not defined by the
j ole 
server. You may write a simple script to test this, or append the
following in 
the very beginning of your standalone script as a workaround.

3 : 0 ''
notdef=. 0: ~: 4!:0 @ <
PATHSEP_j_=: '/\'{~6=9!:12''
if. notdef 'BINPATH' do.
   BINPATH_z_=: ({.~ i:&PATHSEP_j_) >@{.4!:3 ''
end.
''
)

-- 
regards,
bill
----------------------------------------------------------------------
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