The "ds_list_combine" Function
#
SyntaxArgument | Type | Description |
---|---|---|
id | ds_list | The data structure to add new data to |
source | ds_list | The data structure to be added |
pos | integer | Optional: The index at which to insert new data (use none for end of list) |
#
DescriptionCopies the values of one ds_list
into another ds_list
. Unlike ds_list_copy
, ds_list_combine
does not clear the list of existing values.
By default, this script will insert new values at the end of the list. A different position can be optionally supplied instead, ranging from 0 to ds_list_size(id)
.
Both lists must have already been created before running this script.