Versions Compared

Key

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

...

ArgumentData TypeRequiredDescription
fnstringYesThe function to be called
argsarrayYesAn array of arguments to be passed to fn

...

This example returns the PID of the MUMPS process running fn.

Code Block
titleMUMPS Routine
linenumberstrue
KBBMDEMO
    QUIT
    ;
PID()
    QUIT $J
Code Block
languagecoldfusion
titleCFML
linenumberstrue
<cfset mumps = createObject("component", "lib.cfmumps.mumps").open()>
<cfset pid = mumps.mFunction("$$PID^KBBMDEMO", [])>
<cfoutput>
<p>Process ID is #pid#</p>
</cfoutput>
<cfset mumps.close()>