Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Determines whether a MUMPS global node exists and/or has child nodes or data.

Arguments

ArgumentData TypeRequiredDescription
globalNamestringYesThe name of the global to examine
subscriptsarrayYesAn array indicating the subscripts to be examined. May be empty to examine the root node.

Return Value

Returns a struct with the following boolean members:

  • defined
  • hasData
  • hasSubscripts

Example

CFML
<cfset mumps = createObject("component", "lib.cfmumps.mumps").open()>
<cfset ddData = mumps.data("DD", [200, 1])>
<cfif ddData.hasData>
<p>^DD(200,1) has data!</p>
</cfif>
<cfset mumps.close()>
  • No labels