I don't use Visual studio so that I cannot test for you. However if I were you I would insert many trace statements into the standalone script to write to a log file, and examine the log file for where the program failed.

..
(<'c:\j.log') (1!:3)~ LF, 'tp 1'
..
..
(<'c:\j.log') (1!:3)~ LF, 'tp 2'
..
..
(<'c:\j.log') (1!:3)~ LF, 'tp 3'
..

Alex Rufon wrote:
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

Reply via email to