This shows you the differences between two versions of the page.
| xrpl:getlistelement [2019/03/03 22:57] – created Karsten75 | xrpl:getlistelement [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ===== GetListElement | ||
| - | |||
| - | ^Arguments^Result^Notation^ | ||
| - | |list int| value| [list int- value] | | ||
| - | |||
| - | |||
| - | === Description === | ||
| - | Returns the value at the specified index of a list. Lists are indexed from zero. | ||
| - | |||
| - | If a list is stored in a variable, this can be abbreviated to < | ||
| - | |||
| - | === Examples === | ||
| - | < | ||
| - | 0 6 do | ||
| - | Trace (<-list I GetListElement) | ||
| - | Trace (< | ||
| - | loop | ||
| - | </ | ||