chromatic wrote:
What about when you want to implement things like, element -1 gets the last element of the array? That's the case in some languages, I believe...On Friday 28 December 2007 07:09:24 Andy Lester wrote:Should we be allowing negative in the PMC elements() functions? Seems to me they'd be more appropriate as UINTVALs.I can't think of any reason they could be negative. Can you make a patch to convert them and see if anything breaks?
Jonathan