On 3/6/07, Roger Hui <[EMAIL PROTECTED]> wrote:
Fizz=: 'Fizz' #~ 0 = 3&|
Buzz=: 'Buzz' #~ 0 = 5&|
FB  =: (": [^:(0&[EMAIL PROTECTED]@]) Fizz,Buzz)"0
FB >: i.100

That's shorter than what I was going to do.

That said, FB could be

FB=: (": [^:([EMAIL PROTECTED]) Fizz,Buzz)"0

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

Reply via email to