Template:LSL Function/negative index/range
< Template:LSL Function | negative index
Jump to navigation
Jump to search
Revision as of 18:41, 6 March 2007 by Strife Onizuka (talk | contribs)
Index | Positive | Negative |
---|---|---|
First | 0 | -length |
Last | length - 1 | -1 |
Mentally first translate any negative indexes into positive indexes
|
Positive indexes past the length, or negative indexes past the beginning are valid. The effects are predictable, the values are treated as if they were there but were removed.
See negative indexes for more information.