Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Change to new constructor style; add CFScript example

Deletes the value of a MUMPS global, along with its children.

Arguments

ArgumentData TypeRequiredDescription
globalNamestringYesThe name of the global to examine
subscriptsarrayNoAn array of subscripts

Return Value

mumps.kill() does not return a value.

Example

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

// delete account 1000
mumps.kill("TT", ["ACCT", 1000]);

mumps.close()


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

<!---Delete account 1000--->
<cfset mumps.kill("TT", ["ACCT", 1000])>

<cfset mumps.close()>