/*
tuvaz_check()
by Big J
simplified by torigara
This script will throw an error
if "Treat uninitialized variables as zero"
is enabled in Global Game Settings.
Call it once at the beginning of the game.
*/
if (variable_global_exists(""))
{
show_error("Uninitialized variables are treated as zero! "
+ "Uncheck the box for it in Global Game Settings --> Errors. "
+ "This is worse than division by zero.", true);
}Old overcomplicated script:
Feel free to use it with or without giving credit, modify it any way you like, I don't care. Whatever you do, just put an end to "Treat uninitialized variables as zero" AKA "TUVAZ"!
Edited by Big J, 15 December 2011 - 10:47 AM.












