• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!

GMS 2.3+ ds_list_create docs error.

On the help pages for ds_list, if you go to the ds_list_create page you will see it shows the syntax as

ds_list_create ;

and the example is

list = ds_list_create ;

which compiles fine, and even gives a number value, but will give you an odd error that "no list exists with that number".(paraphrase)

it should be ds_list_create(); Which is what I thought it should be, but you know, docs say otherwise ;)
 

FrostyCat

Member
There is a bug in the current Manual that sometimes hides all brackets in code. I've reported it last November when it resurfaced, but they still haven't acted.

In any case, you would be correct to do list = ds_list_create();.
 
Top