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 4 Current »

Determines whether or not a connection to MUMPS is active.

Arguments

None.

Return Value

Returns a CFML boolean value which is true if a connection to MUMPS is open; falseotherwise.

Example

 


CFScript
var mumps = new lib.cfmumps.Mumps();
mumps.open();

if(mumps.isOpen()) {
	writeOutput("Connection exists!");
}
else {
	writeOutput("Connection does not exist.");
}

mumps.close();
CFML
<cfset mumps = new lib.cfmumps.Mumps()>
<cfset mumps.open()>

<cfif mumps.isOpen()>
	Connection exists!
<cfelse>
	Connection does not exist.
</cfif>

<cfset mumps.close()>
  • No labels