Devon McCormick wrote:
> In any case, I handle USERFOLDERS by having the following in
> my personal config.ijs:
> 
> USERFOLDERS=: ".&.><;._1&>';',&.><;._2 ] 0 : 0
> 'Projects';'c:\program files\j601\user\projects';0
> 'User';'C:\amisc\Jsys\User';0
> 'System';'c:\program files\j601\system';0
> 'Addons';'c:\program files\j601\addons';0
> 'Classes';'c:\program files\j601\system\classes';0
> 'Examples';'c:\program files\j601\system\examples';0
> 'Extras';'c:\program files\j601\system\extras';0
> 'Help';'c:\program files\j601\system\extras\help';0
> 'Main';'c:\program files\j601\system\main';0
> 'Packages';'c:\program files\j601\system\packages';0
> 'Phrases';'c:\program files\j601\system\examples\phrases';0
> )
> 
> This is more-or-less a copy (with my own value for "User") from what's
> in the standard config.ijs with the significant difference that the
> standard definition doesn't include the "cut" logic before the "0 : 0" -
> it defines a simple text vector which gets turned into the 3-column table
> elsewhere - not sure why it doesn't get set at initialization.

I am suggesting something much simpler - not requiring USERFOLDERS at
all in your end user applications. Instead, just create a file as below
for path configs:

NB. some descriptive text here...
DATAPATH=: '/home/genie/myapp/'
OUTPATH=: '/home/genie/output/'
...

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

Reply via email to