$list concat

Allows you to combine or concatenate two lists.


Example

Running this code will add "1", "2", and "3" to the list named "%Data1".

Running this code will add "1", "2", "3", and "4" to the list named "%Data2".

Running this code will combine "%Data1" and "%Data2", showing it as an alert dialog box.

This will be shown in the alert dialog box.

This will be shown in the Debugger.

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

Was this helpful?

Previous Article

$list calculator

Next Article

$list except