Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Change API name, change to new constructor style, add CFScript example.

Returns the version of MUMPS currently in use.

Arguments

mumps.mVersionversion() does not take any arguments.

Return Value

mumps.mVersionversion() returns a string representing the version of MUMPS currently in use.

Example

 


Code Block
languagejs
titleCFScript
linenumberstrue
var mumps = new lib.cfmumps.Mumps();
mumps.open();

var mumpsVersion = mumps.version();

writeOutput("<p>The version of MUMPS currently in use is #mumpsVersion#.</p>");

mumps.close();


Code Block
languagecoldfusion
titleCFML
linenumberstrue
<cfset mumps = createObject("component", "new lib.cfmumps.mumps")Mumps()>
<cfset mumps.open()>

<cfset mumpsVersion = mumps.mVersionversion()>

<cfoutput>
	<p>The version of MUMPS currently in use is #mumpsVersion#.</p>
</cfoutput>

<cfset mumps.close()>