>>  <<  Usr  Pri  JfC  LJ  Phr  Dic  Voc  !:  Help  User

Starting J - Details

profile sequence

JFE loads profile which in turn loads several other files to initialize your J session. Foreign 4!:3 returns script names in the order they were loaded. This can be a powerful tool in understanding the initialization process.

Start Jconsole and see what scripts are loaded.
   >4!:3''
C:\Users\Eric\j807\bin\profile.ijs
C:\Users\Eric\j807\system\util\boot.ijs
C:\Users\Eric\j807\system\main\stdlib.ijs
C:\Users\Eric\j807\system\util\scripts.ijs
C:\Users\Eric\j807\system\main\regex.ijs
C:\Users\Eric\j807\system\main\task.ijs
C:\Users\Eric\j807\system\util\configure.ijs
...

J Front End initialization sentence

JFE runs a first sentence that defines BINPATH_z_ and ARGV_z and performs other required initialization (such as loading J profile).

BINPATH_z_ is set as the full path to the J bin folder.

ARGV_z_ is set as list of boxed string parameters from the command line.

The load of a script is done with an unamed verb (3 : '0!:0 y') so that =. is local to the verb.

The sentence always ends with:
[ARGV_z_=:...[BINPATH_z_=:...

[A[B indicates this standard ending in the following examples.

Without -jprofile the first sentence has the form:
(3 : '0!:0 y')<BINPATH,'\profile.ijs'[A[B

With -jprofile F:
(3 : '0!:0 y')2{ARGV[A[B

Jconsole with just -jprofile:
i.0 0[A[B


>>  <<  Usr  Pri  JfC  LJ  Phr  Dic  Voc  !:  Help  User