A_N1_=:1 :0
  this=.;coname''
  ''1 :('f_',this,'_')
)

n_N1_=: 0

f_N1_=: 3 :0
  n=:n+y
)


Example use:
   obj=: conew'N1'
   F=: ''A__obj
   F 9
9
   F 10
19

Of course you could instead cocurrent to define the names in N1.

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

Reply via email to