The J IDE is built with the standard profile. In particular profile
creates the ijx window and your script requires ijx. To see a script run
without the profile try a script with:
11!:0'mb abc def'
----- Original Message -----
From: "Gilles Kirouac" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Sunday, October 29, 2006 4:17 PM
Subject: [Jprogramming] When is the standard profile needed?
Here is script 27.ijs:
NB. =========================
NB. Testing how to load J
settimer=: 3 : 0
11!:0 'timer ',":TIMER=:y
)
LX=: 3 : 0
sys_timer_z_ ''
settimer 10000
1!:2&2 'END OF LX'
)
sys_timer_z_=: 3 : 0
1!:2&2 ": 6!:0''
)
LX''
NB. =========================
Under Win32, if I use the command line
c:\j601\j.exe 27.ijs
a ijx window is opened and the results are displayed.
But if I replace the profile,
c:\j601\j.exe -jprofile 27.ijs
nothing happens.
Why does this script need the standard profile,
since it appears to me self sufficient?
Related question:
When should we use jee.exe and jep.exe?
I read system/extras/help/user/dll_so.htm,
but still have no precise idea.
~ Gilles
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm