Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Calls a MUMPS extrinsic function.

Arguments

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

Return Value

Returns a value of type any, representing the value specified by fn's QUIT command.

Example

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

MUMPS Routine
KBBMDEMO
    QUIT
    ;
PID()
    QUIT $J
CFML
<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()>
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.