Playing "crystal ball" with APL newcomers... Maybe the whole problem is
far more simple then we perceive it. For instance:
I was thinking... Could it be possible that all this fuss is due to the
fact that some APL newcomers want to have a function they define in the J
session to be transferred in a script easily or say take a snapshot of a j
function they like from a loaded script to play/modify it ?
They of course are not yet arrived at the 5!:... conjunction so they are
kind of frustrated to not be able to cut/paste from the session to a
script ...
If that is the case, then what they really want is something like:
showfn=: 13 : 0
(y,'=: '),(5!:5)<y
)
showfn'avg'
avg=: +/ % #
showfn'load'
load=: 3 : 0
0 load y
:
fls=. getscripts_j_ y
fn=. ('script',x#'d')~
for_fl. fls do.
if. DISPLAYLOAD_j_ do. smoutput > fl end.
fn fl
LOADED_j_=: ~. LOADED_j_,fl
end.
empty''
)
Paul Gauthier
APL Software Developer - Senior
[EMAIL PROTECTED]
Phone: 312-739-3467
Fax: 312-739-3496
CheckFree. The Company that Powers Payment on the WebSM.
http://www.checkfree.com/paybillsonline
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm