No, you don't *have* to declare it as a global so long as you don't mind incurring the wrath of the Goto Police:
quote:
$gNull=SetOption("Explicit","ON")

If IsDeclared($foo) Goto FOO_IS_DECLARED EndIf
Dim $foo

:FOO_IS_DECLARED
"Foo is "+VarTypeName($foo) ?