Template:LSL Function/negative index/range: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
{{!}}} | {{!}}} | ||
See {{LSLGC|Negative_Index#Range Functions|negative indexes}} for more information. | See {{LSLGC|Negative_Index#Range Functions|negative indexes}} for more information. | ||
}}<noinclude>{{#var:spec}}</noinclude> | }}<noinclude>{{#var:spec}}</noinclude> | ||
Revision as of 18:29, 6 March 2007
| Index | Positive | Negative |
|---|---|---|
| First | 0 | -length |
| Last | length - 1 | -1 |
Mentally first translate any negative indexes into positive indexes
|
See negative indexes for more information.