Versions Compared

Key

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

...

mumps.mquery() returns a string containing the next subscripted variable name.

Example

 

Code Block
languagecoldfusion
titleCFML
linenumberstrue
<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()>