P
PHL
Guest
Game Maker Studio ditched the variable_local_exists() and variable_global_exists() functions, so my life is harder now in game programming.
I found a function called is_undefined, and I rejoiced, thinking that it would help me.
Zero.
I tried something like this:
is_undefined(variable),
and got an error and a crash.
The irony is that if Game Maker Studio can give an error message when you use an undefined variable, it means she can check for variables. So why is there no function for it?
How do people cope with being unable to check if a variable exists?
I found a function called is_undefined, and I rejoiced, thinking that it would help me.
Zero.
I tried something like this:
is_undefined(variable),
and got an error and a crash.
The irony is that if Game Maker Studio can give an error message when you use an undefined variable, it means she can check for variables. So why is there no function for it?
How do people cope with being unable to check if a variable exists?