$list reverse

Allows you to reverse the elements of the list.


Example

Running this code will add "1 2 3" to the list named "%Data". The "$list reverse" will reverse the elements of the lists as shown in the alert box below.

This is shown in the alert box.

add item to list(%Data,1,"Don\'t Delete","Global")
add item to list(%Data,2,"Don\'t Delete","Global")
add item to list(%Data,3,"Don\'t Delete","Global")
alert($plugin function("Data and Files Automation.dll", "$list reverse", %Data))

Was this helpful?

Previous Article

$list replace

Next Article

$list shuffle