...
Returns a CFML boolean value which is true if a connection to MUMPS is open; otherwise, returns falseotherwise.
Example
Code Block |
---|
language | coldfusionjs |
---|
title | CFMLCFScript |
---|
linenumbers | true |
---|
|
<cfsetvar mumps = createObject("component", "lib.cfmumps.mumps"new lib.cfmumps.Mumps();
mumps.open();
if(mumps.isOpen()) {
writeOutput("Connection exists!");
}
else {
writeOutput("Connection does not exist.");
}
mumps.close(); |
Code Block |
---|
language | coldfusion |
---|
title | CFML |
---|
linenumbers | true |
---|
|
<cfset mumps = new lib.cfmumps.Mumps()>
<cfset mumps.open()>
<cfif mumps.isOpen()>
Connection exists!
<cfelse>
Connection does not exist.
</cfif>
<cfset mumps.close()> |