Roger Stokes wrote:
> NB. Looks like there is a bug in ".
>
> foo =: 3 : 0
> ". 'z =. ', y
> 5!:6 < 'z'
> )
>
> erase 'a' ; 'v'
> 1 1
>
> NB. this gives correct result
>
> foo 'a/'
> a/
>
> NB. this gives incorrect reult
>
> foo 'v/'
> |value error: v
> | z=. v/
>
More information:
foo =: 3 : 0
try. (". 'z =. ', y) catch. ('bad ',y) end.
)
foo"1 'abcdefghijklmnopqrstuvwxyz',.'/'
bad m/
bad n/
bad u/
bad v/
bad x/
bad y/
--
David Mitchell
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm