create an object and add to Draw Event:
if (ds_list_exists(any_variable_here)) draw_text(200,200,"mylist exists") put object on the room and try to run it. no text should be displayed
now create another object or use this one (doesn't really matter), and put this code on Create Event:
any_list_name=ds_list_create() try to run the game again. in my case ds_list_exists returns 1 with any existing ds list in the room, regardless of whether this is the ds list I checked for existence or not.
is this program behavior common to everyone, or is it just me? and if its common, did i use the function wrong, or is there actually a bug?
|