[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Negative indexes in address@hidden:off:length}

From: Chet Ramey
Subject: Re: Negative indexes in address@hidden:off:length}
Date: Mon, 27 Jun 2011 10:25:55 -0400

> I don't even understand what the second one is supposed to mean at
> all -- the :1: means to start with "b" and the -2 means to go back 2
> elements...?  How do you derive "a c" from any possible interpretation
> of this?

I assume that he wants to be able to treat an indexed array as a circular
buffer without having to do any of the work in a script.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]