I have a global variable of type Collection defined in a module. I know if I get an uncaught error the global variable will no longer be defined. But I am trying to check if it is undefined and if it is then call a function that sets it new and assigns its values. But I can't find a way to check it. I tried the checks "isNull(globvar)" and "globvar=nothing" but they are never true and the program continues running and gives me the 424 Object Required error.