mumps.get()

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


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()>