YoYo Games Wiki

ds_list_create()

From YoYoGames Wiki

Description

Creates a new list data structure.

Arguments

  • none

Returns

real: An integer ID which is used to reference the data structure in the future.

Explanation

Creates a new list data structure and returns an integer ID which can be used to reference it.

Remarks

Lists are implemented using arrays but are much faster than GML arrays as lists are done in compiled code.

See Also