...
Argument | Data Type | Required | Description |
---|
fn | string | Yes | The function to be called |
args | array | Yes | An array of arguments to be passed to fn |
...
This example returns the PID of the MUMPS process running fn.
Code Block |
---|
title | MUMPS Routine |
---|
linenumbers | true |
---|
|
KBBMDEMO
QUIT
;
PID()
QUIT $J |
Code Block |
---|
language | coldfusion |
---|
title | CFML |
---|
linenumbers | true |
---|
|
<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()> |