Oops, I blundered.  The ,: should have been ,.

But there is still an interesting ?bug:

   (,:0 8) ];.0 'abcdefgh'
abcdefgh
   (,:0 8) [EMAIL PROTECTED];.0 'abcdefgh'
|length error
|   (,:0 8)    [EMAIL PROTECTED];.0'abcdefgh'

(,:0 8) should be an invalid left argument, but the special code for
];.0 seems to treat it as if it were (,.0 8).

Henry Rich

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Henry Rich
> Sent: Friday, November 23, 2007 11:21 AM
> To: 'Programming forum'
> Subject: [Jprogramming] Error in _2&(3!:5);.0
> 
>       (,:0 8) _2&(3!:5);.0 (2 (3!:5) 2.2)
> |length error
> |   (,:0 8)    _2&(3!:5);.0(2(3!:5)2.2)
>       _2&(3!:5) (,:0 8) ];.0 (2 (3!:5) 2.2)
> 2.2
> 
> The first sentence should produce the same result as the second.
> Fails in 6.01beta and 6.02beta.
> 
> Henry Rich
> 
> ----------------------------------------------------------------------
> 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