Attempting to set my "F3" key to save my JGTK session to a unique name, I
put this entry into the fkeys.cfg file:
3,0,Save session,(readtext_0_'') fwrites
'~temp/JGTKterm',(;(_4,5$_2){.&.>('00', [: ":[:<.0.5+])&.>6!:0''),'.txt'
The executable part of this works OK if I enter it in the session but only
creates an 8-character filename "JGTKterm" when I use the F3 key.
However, if I assign a key to output the line I want to execute, e.g.
c3,0,Save session,smoutput '(readtext_0_'''') fwrites
''~temp/JGTK'',(;(_4,5$_2){.&.>(''00'',[: ":[:<.0.5+])&.>6!:0''''),''.txt'''
I get the entire line (which I can then run in the session though this seems
clumsier than necessary).
Does anyone have an idea what's going on here?
Thanks,
Devon
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm