• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

 Suggestion: ds_map_is_map and co

GMWolf

aka fel666
Its great to be able to mark map and list content as more maps or lists.
but whats the point if we cannot tell afterwards!

why not have ds_list_is_list, ds_list_is_map, ds_map_is_list and ds_map_is_map?
would be very helpful.
 

rwkay

GameMaker Staff
GameMaker Dev.
We will not be doing that as that just gets very silly very quickly with lots and lots of confusing function names... the long term plan is to make maps and lists proper types so you can just do is_ds_map() on a variable and it could tell... see the roadmap
  • GML: data structures as a true datatype (not just an index)
This will solve many problems

Russell
 

GMWolf

aka fel666
We will not be doing that as that just gets very silly very quickly with lots and lots of confusing function names... the long term plan is to make maps and lists proper types so you can just do is_ds_map() on a variable and it could tell... see the roadmap
  • GML: data structures as a true datatype (not just an index)
This will solve many problems

Russell
I cant wait for this to be a thing!
for now Im stuck using something like JSOnion :(

any (rough) Idea on how long till this is a thing?
 

rwkay

GameMaker Staff
GameMaker Dev.
Not giving out any estimates on those Roadmap items just now (as I will be wrong and disappoint many)

Russell
 
Top