mumps.get()
Retrieves the value of a MUMPS global node.
Arguments
Argument | Data Type | Required | Description |
---|---|---|---|
globalName | string | Yes | The name of the global to examine |
subscripts | array | No | An array of subscripts |
Return Value
Returns a value of type any.
Example
CFScript
var mumps = new lib.cfmumps.Mumps(); mumps.open(); var accountName = mumps.get("TT", ["ACCT", 1000]); mumps.close();
CFML
<cfset mumps = new lib.cfmumps.Mumps()> <cfset mumps.open()> <cfset accountName = mumps.get("TT", ["ACCT", 1000])> <cfset mumps.close()>