Obtains the next subscripted variable name in the referenced global.
Arguments
Argument | Data Type | Required | Description |
---|---|---|---|
globalName | string | Yes | The global reference to examine |
Return Value
mumps.mquery() returns a string containing the next subscripted variable name.
Example
CFML
<cfset mumps = createObject("component", "lib.cfmumps.mumps")> <cfset mumps.open()> <cfset mumps.set("testGlobal", ["x"], "testValue")> <cfset result = mumps.mquery("^testGlobal")> <!--- result will be '^testGlobal("x")' ---> <cfset mumps.close()>
Add Comment