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

« Previous Version 2 Current »

Sets the value of a MUMPS global node.

Arguments

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

CFML
<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:

MUMPS
S ^TT("ACCT",1000)="CASH"
  • No labels