in sqgetGlobalVar, reset $value if it is not found.