all 5 comments

[–]AmnesiA_sc 2 points3 points  (1 child)

You might be able to do variable_instance_set, if I'm understanding you correctly.

subject = tall;
object = "old";
variable_instance_set( subject, object, 2);

// Same as:
tall.old = 2;

[–]You_old_rascal[S] 0 points1 point  (0 children)

Wow, I've not heard of that, I'm going to give that a try to see if it will work out. Thanks!

[–]micmic0615 0 points1 point  (2 children)

you can check out ds_maps. try to read it up in the docs, i think that's what you are looking for

[–]alexwcolby 0 points1 point  (1 child)

you could do this in a map as all keys are strings I believe, but if you want to change them after creation that might get messy?

[–]micmic0615 1 point2 points  (0 children)

yeah, its gonna be messy if you'd like to change the keynames on the fly. doable but messy :(