capturerun=:(([:":".);._2)
  capturerun t
0 1 2 3 4 5 6 7 8 9
45 450
June Kim wrote:

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




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

Reply via email to