This should work: (with textrepl suitably defined) '/</(/>/)' textrepl 0 : 0 << abc defg > lmn > ) ------------------------------------------------------------------------ |\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram) |/\| [EMAIL PROTECTED] | |\ | | The only real problem with APL is that BSc(Math) UNBF'83 | it is "still ahead of its time." Sapere Aude | - Morten Kromberg Natural Born APL'er | Demo website: http://156.34.80.139/ -----------------------------------------------------(INTP)----{ gnat }-
----- Original Message ----- From: "June Kim" <[EMAIL PROTECTED]> To: "Programming forum" <[email protected]> Sent: Sunday, December 17, 2006 9:40 AM Subject: [Jprogramming] 0 : 0 including right paren? > Suppose you want to make a string noun S with the following content, > for instance: > > (( > abc > defg > ) > lmn > ) > > Directly putting the string in a script with 0 : 0 isn't possible, due > to the right paren's special meaning. What is the conventional way of > achieving this in J? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
