• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

ds_list_create docs error.

O

oziphantom

Guest
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

Redemption Seeker
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