On Jan 19, 2008 7:32 PM, Kairit Sirts <[EMAIL PROTECTED]> wrote:
> gen =: [EMAIL PROTECTED]({.I.-.=&n)
>
> Now I should be able to generate text with
> Text =: text, gen argument, but I get the length error and I don't
> understand what's wrong.

When you experience errors in J, you should try evaluating
your sub-expressions to see if they give you your expected
result.

In this case, I think your problem is
   ({.I.-.=&n) y

for arbitrary y, but try it out and see...

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

Reply via email to