It's an index error the same reason that 9999999{'****'
is an index error.

In prehistoric times (Dictionary APL, 1987) Ken had 
thought that i{y should be equivalent to ((#y)|i){y .  
We talked him out of it.



----- Original Message -----
From: Henry Rich <[EMAIL PROTECTED]>
Date: Friday, November 23, 2007 8:22
Subject: [Jprogramming] End-condition error in ];.0
To: 'Programming forum' <[email protected]>

>    (,:2 4) ];.0 (4#'*') 
> **
>    (,:3 4) ];.0 (4#'*') 
> *
>    (,:4 4) ];.0 (4#'*') 
> |index error
> |   (,:4 4)    ];.0(4#'*')
> 
> Wouldn't it be better for that last to return an empty
> string?
> 
> Fails in 6.01beta and 6.02beta

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

Reply via email to