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.

<strong>Caché</strong> <strong>ObjectScript</strong> Functions• $ZREFERENCE special variable• Global Structure in Using <strong>Caché</strong> Multi-Dimensional Storage$QSUBSCRIPTReturns the variable name, its subscript names, or the namespace name for a global or othervariable.$QSUBSCRIPT(namevalue,intexpr)$QS(namevalue,intexpr)ParametersnamevalueintexprA string or an expression that evaluates to a string which is a local orglobal reference.An integer code that specifies which value to return.Description$QSUBSCRIPT returns the namespace environment name, the variable name, or the nameof the specified subscript of namevalue, depending on the value of intexpr.ParametersnamevalueA string or an expression that evaluates to a string which is a local variable, a process-privateglobal, or a global reference. If the string is a global reference, it can contain a namespacereference. The namevalue parameter can have the form: NAME(s 1 ,s 2 ,...,s n ).intexprInteger expression code that indicates which type of value to return. Assume that the namevalueparameter has the form NAME(s 1 ,s 2 ,...,s n ), where n is the ordinal number of the last subscript.The intexpr parameter can have any of the following values:288 <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!