ReverseElementsOfList

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
reverse <Target>
Associationscom.livecode.list
Summary

Reverse a list

Parameters
NameTypeDescription
Target

A list

Example
variable tList
put [1, 2, 3] into tList
reverse tList
expect that tList is [3, 2, 1]
Description

Reverses the order of elements in the Target.

Tagslists