Difference between revisions of "Template:LSL Function/negative index/single"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{#vardefine:spec|{{#if:{{#var:spec}}|{{#var:spec}}<br/>}} | {{#vardefine:spec|{{#if:{{#var:spec}}|{{#var:spec}}<br/>}} | ||
<div style="float:left"> | |||
{{{!}}{{Prettytable}} | |||
{{!}}-{{Hl2}} | |||
! Index | |||
! Positive | |||
! Negative | |||
{{!}}- | |||
{{!}} First | |||
{{!}} 0 | |||
{{!}} -length | |||
{{!}}- | |||
{{!}} Last | |||
{{!}} length - 1 | |||
{{!}} -1 | |||
{{!}}} | |||
</div> | |||
}}<noinclude>{{#var:spec}}</noinclude> | }}<noinclude>{{#var:spec}}</noinclude> |
Revision as of 18:53, 6 March 2007
Index | Positive | Negative |
---|---|---|
First | 0 | -length |
Last | length - 1 | -1 |