Roger:
>    (0&, + ,&0)^:(i.10) 1

Viktor:
> Variation:
>     0 (, + ,~)^:(i.10) 1

Further variation:

           (<10) 0&(, + ,~) 1

And hey, Ian, here's an example of where the constant verbs are still useful, 
despite the introduction of the NVV train:

           bc =:  < 0&(, + ,~) 1:    NB.  Try  bc 10  .

Note that without  1:  I would've had to write   1"_  (which is less tasteful).

-Dan

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

Reply via email to