Deletes the value of a MUMPS global, along with its children.
Argument | Data Type | Required | Description |
---|
globalName | string | Yes | The name of the global to examine |
subscripts | array | No | An array of subscripts |
mumps.kill() does not return a value.
Code Block |
---|
language | js |
---|
title | CFScript |
---|
linenumbers | true |
---|
|
var mumps = new lib.cfmumps.Mumps();
mumps.open();
// delete account 1000
mumps.kill("TT", ["ACCT", 1000]);
mumps.close() |
Code Block |
---|
language | coldfusion |
---|
title | CFML |
---|
linenumbers | true |
---|
|
<cfset mumps = new lib.cfmumps.Mumps()>
<cfset mumps.open()>
<!---Delete account 1000--->
<cfset mumps.kill("TT", ["ACCT", 1000])>
<cfset mumps.close()> |