omron — Example

DELETEM monitor command DELETEM monitor command Syntax DELETEM module Function Delete the named program module from the system memory. Usage Considerations A module will not be deleted if any of its programs are "interlocked" (see below). The programs in the module are deleted even if they are referenced by other programs in memory. DELETEM removes program modules from system memory; it does not erase the associated disk file. Parameter module Name of a program module to be deleted. Details Deletes a program module and all of its programs from the system memory. This operation can be used to recover the memory storage space occupied by programs that are no longer needed.

Unlike the DELETE command, DELETEM does not delete subroutines that are referenced by the programs deleted, except when the subroutines are also contained in the specified module. Also, variables referenced by the deleted programs are not deleted. If any of the programs in the module are "interlocked" (see the STATUS real-valued function), those programs are not deleted and the module is not deleted. A KILL command should be used to clear the appropriate program execution stack before deleting a module containing programs referenced in an execution stack. See the eV+ Operating System User's Guide for details on program modules.

Example Delete the program module named "main.package" and all the programs it contains (assuming that none of the programs are interlocked). DELETEM main.package eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 64