The only suggestion I'd make is that you can use the global "IFCONSOLE" for
your conditional invocation of "loadwd".  It seems more readable than
"11!:0".

On 10/20/06, John Randall <[EMAIL PROTECTED]> wrote:

Thanks, Devon and Chris.

I am now using a version of jpm.ijs with conditional loading.  This works
under jconsole and (with more functionality) with the graphical interface.

The beginning of the file is now:

script_z_ '~system\main\dll.ijs'

loadwd=:3 : 0
script_z_ '~system\packages\misc\font.ijs'
script_z_ '~system\main\gl2.ijs'
script_z_ '~system\classes\grid\jzgrid.ijs'
script_z_ '~system\packages\winapi\menu.ijs'
script_z_ '~system\main\pack.ijs'
)

ifwd=:(1: [ 11!:0) :: 0:

loadwd^:ifwd ''


If anyone can suggest a better way to do this, I'd appreciate it.

Best wishes,

John

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




--
Devon McCormick
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to