On Thu, 2 Sep 2004, Larry Wall wrote:

> The argument to a shape specification is a semicolon list, just like
> the inside of a multidimensional subscript.  Ranges are also allowed,
> so you can pretend you're programming in Fortran, or awk:
>
>     my int @ints is shape(1..4;1..2); # two dimensions, @ints[1..4; 1..2]

What happens when the Pascal programmer declares

    my int @ints is shape(-10..10);

Does it blow up?  If not, does  @ints[-1]  mean the element with index -1
or the last element?

~ John Williams

Reply via email to