INSTALLFOLDER is not used in J602 (it was in J601).

Help|User|Starting J - Details has not been updated yet but it will be in the next beta.

The j602 JFE sets BINPATH_z_ to the path to the J bin folder. The JFE needs to know this to find the JE and profile.ijs.

The JFE also sets ARGV_z_ to the command line parameters that profile will use.

The JFE then creates an unnamed verb that loads profile.ijs from BINPATH. The unnamed verb means that =. is local to the verb and =: is global.

----- Original Message ----- From: "Don Guinn" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Sunday, January 27, 2008 6:05 PM
Subject: [Jbeta] Debugging J startup


Am debugging a profilex.ijs and ran into a few problems with the
documentation in start_errors.htm .

First, the line
  #1!:1>INSTALLFOLDER,'\profile.ijs'
needs to be changed to
  #1!:1<INSTALLFOLDER,'\profile.ijs'
and the line
  0!:0>INSTALLFOLDER,'\profile.ijs'
has two problems.

First, the > needs to be changed to < like in the first line. Second, it
runs the initialization scripts not enclosed in an explicit verb which means
that all local names are really globals. Things are OK until
boot.ijschanges the current locale to "z" making the name "user",
defined in the
base locale, undefined in the z locale. Then line "md user,'\classes'"
fails.

How about changing this line to
  (3 : '0!:0<INSTALLFOLDER,''\profile.ijs''')''
making the locals stay locals?
----------------------------------------------------------------------
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