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.

$ZUTIL(68,1)$ZUTIL(68,1)Enables or disables use of null subscripts for the current process.$ZUTIL(68,1,n)$ZU(68,1,n)ParametersnA boolean that specifies the null subscript mode setting for the current process.DescriptionThe $ZUTIL(68,1) function enables or disables a mode that allows setting and referencingglobals with null subscripts within the current process.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(68,1) without specifying n returns the current switch setting.ParametersnA boolean switch that specifies the null subscript mode setting for the current process.01Disables setting/referencing null subscripted globals (the default).Enables setting/referencing null subscripted globals.Note:This feature helps you convert applications that use null subscripts. <strong>InterSystems</strong>recommends that you not use it for new development.This system-wide default behavior can be configured using the $ZUTIL(69,1) function. Forfurther details, see $ZUTIL(69,1) — Null Subscript Mode System Default.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 599

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

Saved successfully!

Ooh no, something went wrong!