Thanks, but it wouldn't work when t includes (3 : 0) style multi-line
definitions.

2007/1/3, June Kim <[EMAIL PROTECTED]>:
Is there an easy way of achieving the following?

  t=: 0 : 0
i.10
]a=.+/ i.10
10*a
)
  r=:capturerun t   NB. capturerun runs the script capturing solely
the results without displaying
  r
0 1 2 3 4 5 6 7 8 9
45
450

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

Reply via email to