11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System and Other FunctionsDescriptionYou can test whether a namespace is defined by issuing this function. It returns 0 if thespecified namespace is not defined. It returns 1 if the specified namespace is defined.Namespace names are case-insensitive; by convention, they are specified and displayed inall uppercase characters.$ZUTIL(90,10) only recognizes explicit namespace names; it does not recognize impliednamespace names.ExampleIn the following example, the first $ZUTIL(90,10) returns 0 (namespace doesn't exist) andthe second $ZUTIL(90,10) returns 1 (namespace does exist):WRITE !,$ZUTIL(90,10,"FRED") ; a non-existent namespaceWRITE !,$ZUTIL(90,10,"SAMPLES")See Also• ZNSPACE command• $ZUTIL(90,4) Start Up in a Specified Namespace function• $ZNSPACE special variable692 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!