On Wed, Mar 9, 2011 at 3:51 PM, Raul Miller <[email protected]> wrote: > Let us say that I have a J sentence which generates an html fragment: > > do_jhs_'jhtablea,jhtablez,~jhtr"1":&.>i.2 2' > <table> > <tr><td>0</td><td>1</td></tr> > <tr><td>2</td><td>3</td></tr> > </table> > > Next, let's say I want to see what this looks like: > do_jhs_'htmlresponse jhtablea,jhtablez,~jhtr"1":&.>i.2 2' > > Problem: when I do this, l temporarily lose my ability to enter J > sentences, and I lose the sentence I typed from my displayed history > (though not from my command recall history). > > Is there a right way to emit an html fragment into my jhs session? (I > thought I remembered seeing something like this, but I do not remember > how to find it.)
And... the answer is: jhtml But you have to ravel the text, first: jhtml,do_jhs_'htmlresponse jhtablea,jhtablez,~jhtr"1":&.>i.2 2' -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
