11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System and Other Functions• $GET function$ZUTIL(69,1)Sets null subscript mode default system-wide.$ZUTIL(69,1,n)$ZU(69,1,n)ParametersnThe boolean value that specifies whether or not to enable the setting and referencingof null subscripted globals.DescriptionUse $ZUTIL(69,1) to specify the system-wide default setting for the null subscript modeswitch.If null subscripted globals are not enabled (n=0), attempting to set a null subscripted variable,such as SET ^x("")=99, or to reference a null subscript, such as WRITE ^x(""), results ina error. For details on error format, refer to the $ZERRORspecial variable.If null subscripted globals are enabled (n=1), you can set a null subscripted variable, such asSET ^x("")=99, just like any other variable. Referencing an undefined null subscriptedvariable results in a error.Invoking $ZUTIL(69,1) without specifying n returns the current switch setting.ParametersnThe switch that determines the default setting for the null subscript mode system-wide. 0 =Setting/referencing null subscripted globals disabled. 1 = Setting/referencing null subscriptedglobals enabled. The native default for this switch is OFF (0).NotesThe system-wide default behavior is that a null subscript reference causes a error. This configuration default cannot be changed using the System Management Portal.636 <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!