The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: perl.perl6.internals
From: steven3...@yahoo.com (Stephen Rawls)
Date: Thu, 1 Aug 2002 06:46:33 -0700 (PDT)
Local: Thurs, Aug 1 2002 9:46 am
Subject: negative index in arrays
In working on the Tuple pmc (almost done!) I've come
accross a small semantic problem. I suppose this might be language level (and thus Larry's turf?), but how should the VM handle negative indecis? It already handles the simple cases when the absolute value of the index is less than the container size, but it does no bounds checking beyound that. For instance: new P0, .PerlArray set P0, 3 set P0[0],1 set I0, P0[-1] #set I0 to 3 My question: do we want the latter case to return an to a while. I just wanted to see what the general Thanks! __________________________________________________ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||