I now see that you are saying that with -jprofile that ARGV is set and that PROFILE isn't. This behavior is changed and cleaned up a bit in 602 and I think the fact that PROFILE isn't set by the front end in 601 is a bug.

----- Original Message ----- From: "Sherlock, Ric" <[EMAIL PROTECTED]>
To: "General forum" <[email protected]>
Sent: Tuesday, June 19, 2007 11:37 PM
Subject: RE: [Jgeneral] Profile.ijs comments


OK, I agree that ARGV is set in my non-"j.exe -jprofile" sessions before
the profile script starts, but PROFILE is not set until the line:
if. notdef 'PROFILE' do. PROFILE_z_=: 1!:45'' end.

If that is the expected behaviour then the comments I made in my first
post stand.
http://www.jsoftware.com/pipermail/general/2007-June/030374.html

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of bill lam
Sent: Wednesday, 20 June 2007 14:55
To: General forum
Subject: Re: [Jgeneral] Profile.ijs comments

I guess that -jprofile without a filename
   j.exe -jprofile
is a special case that only a minijx is shown, no profile, j
ide or any other definition will be loaded.

normally the j engine (j.dll) is started by j frontend. It is
that j frontend that parse the argv and pass it to the j
engine.  thus it is up to j frontend how to interpret "j.exe
-jprofile"
----------------------------------------------------------------------
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