EXPR=: '1+1'
smoutput EXPR

will send '1+1' to the J session. Is there a simple way to get it to
be executed also?


smoutput EXPR , LF

doesn't work (and nor should it). But nor does: smoutput EXPR , CR


Do I have to simulate the effect, separately outputting EXPR and (".EXPR) ?

What if EXPR contains LF? ...and yes, I was coming to that: what if
EXPR is an explicit definition? ...Or even a whole script?

Please don't say "only a fool would want to do that". Someone writing
their own verb-editor might want to do it.

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

Reply via email to