Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Change to new constructor style; add CFScript example

Retrieves the value of a MUMPS global node.

Arguments

ArgumentData TypeRequiredDescription
globalNamestringYesThe name of the global to examine
subscriptsarrayNo

An array of subscripts

Return Value

Returns a value of type any.

Example

...


Code Block
languagecoldfusionjs
titleCFMLCFScript
linenumberstrue
<cfset mumpsvar mumps = new lib.cfmumps.Mumps();
mumps.open();

var accountName = createObjectmumps.get("componentTT", ["ACCT", 1000]);

mumps.close();


Code Block
languagecoldfusion
titleCFML
linenumberstrue
<cfset mumps = new lib.cfmumps.mumps")Mumps()>
<cfset mumps.open()>
<cfset accountName = mumps.get("TT", ["ACCT", 1000])>
<cfset mumps.close()>