> -----Original Message-----
> [mailto:[EMAIL PROTECTED] On Behalf Of Sherlock, Ric
> In the default profile.ijs, one of the first things done is 
> to set the noun PROFILE_z_ to be the pathname of the default 
> profile.ijs if it is not already defined. My current thinking 
> is that if you were using a custom profile (via -jprofile on 
> the command line) then PROFILE_z_ should be set before the line.
> 
> if. notdef 'PROFILE' do. PROFILE_z_=: 1!:45'' end.
> 

Reading back through some forum archives, another possibility occurs to
me. 
Bill Lam suggests in
http://www.jsoftware.com/pipermail/programming/2006-December/004527.html
that "ARGV should work with -jprofile, because it is injected by J
executable before 
running any script."

If this is true then perhaps PROFILE is also supposed to be "injected by
the J executable"?

However when I run 
"c:\program files\j601\j.exe" -jprofile

   18!:4 <'z'
   18!:5 ''
+-+
|z|
+-+
   4!:1 ]0 1 2 3

   $4!:1 ]0 1 2 3
0

Neither ARGV or PROFILE are defined in the z locale. 
But perhaps this is as it is meant to be?

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to