var dbid = ds_list_find_value(list1, 1);
if (is_undefined(dblid)) {
ds_list_replace(list1, 1, 0);
dblid = 0;
}
var dbid = ds_list_find_value(list1, 1);
dbid = is_undefined(dbid) ? 0 : dbid;
var dbid = ds_list_find_value(list1, 1);
if (is_undefined(dblid)) dblid = 0;
/// list_find_alternate(list, pos, default);
var r = ds_list_find_value(argument[0], argument[1]);
if(is_undefined(r)) return argument[2];
return r;
var dbid = list_find_alternate(list1, 1, 0);
var dbid = (ds_list_size(list1) <= 1) ? 0 : list1[| 1];
// Don't do this for checking the absence of a key
if (is_undefined(map1[? "key"])) {
...
}
// Do this instead
if (!ds_map_exists(map1, "key")) {
...
}
Yeah, and accessors.maybe theres a section in help file but what do i search for? 'ternary operators' ?