Hi every one, I'm here to make a request... tough we have marketplace extensions to do this.. there is still some performance that is lost using other methods. I wanted to request for adding this feature to GML in GMS2. it would not be that difficult (I think)!
For lists, maps, grids we have functions...
is possible!! (not fast to write... but possible)
what about arrays? with arrays we need this:
if we need to mix those together, it would be a nightmare of code lines:
this would be way better:
or (if needed):
NOTE: Sometimes we want something fast and easy to write... not really concern with readability... this would be a feature I think (extension) developers would like a lot.
For lists, maps, grids we have functions...
Code:
ds_list_find_value(ds_list_find_value(ds_list_find_value(list, 0), 2 ), 3)
what about arrays? with arrays we need this:
Code:
a1 = array[0];
a2 = a1[2];
value = a2[3];
this would be way better:
Code:
v = a1[0][2][3]
Code:
v = ((a1[0])[2])[3]