You can start with

foo=: (1 : 0)("0 1 0)


Henry Rich

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of bill lam
> Sent: Monday, August 28, 2006 4:59 AM
> To: Programming forum
> Subject: [Jprogramming] how to write adverb with rank
> 
> I'm trying to write an adverb so that the resulting verb with 
> specified rank
> 
> eg.
> foo=: (1 : 0)"0 1 0
> 0 (m foo) y
> :
> ''
> )
> 
> but it is a syntax error, what is the correct syntax?
> 
> |syntax error: script
> |   foo=:    (1 :0)"0 1 0
> |[-4] c:\j601\temp\1.ijs
> 
> -- 
> regards,
> bill
> ----------------------------------------------------------------------
> 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