Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ArgumentData TypeRequiredDescription
globalNamestringYesThe name of the global to examine
subscriptsarrayYesAn array of subscripts. Can be empty.
valueanyYesThe value to be set.

Return Value

None.

Example

Code Block
languagecoldfusion
titleCFML
linenumberstrue
<cfset mumps = createObject("component", "lib.cfmumps.mumps").open()>
<cfset accountName = mumps.set("TT", ["ACCT", 1000], "CASH")>
<cfset mumps.close()>

This is equivalent to the following MUMPS code:

Code Block
titleMUMPS
linenumberstrue
S ^TT("ACCT",1000)="CASH"