DELETE monitor command DELETE monitor command Syntax DELETE program, ..., program Function Delete the listed programs, and the programs and variables they reference, from the system memory. Usage Considerations A program cannot be deleted while it is executing, or is present on an execution stack, as shown by the STATUS command. DELETE does not delete disk files, but removes programs from system memory. Deleted programs can be reloaded with a LOAD command, if the programs have previously been stored to disk.
(The FDELETE command deletes disk files from a storage disk.) In general, it is good programming practice to group programs into modules, so the DELETEM command would normally be used instead of DELETE. Parameter program Name of a program to be deleted. Details The DELETE command completely deletes the named programs. That is, this command deletes the programs themselves (like the DELETEP command), and it also deletes all the following items that are used exclusively by the named programs: l All subroutines called (directly or indirectly) by the named programs.
This includes programs referenced with the CALL, EXECUTE, REACT, REACTE, and REACTI instructions, but not those referenced with the CALLP or CALLS instructions. l All the location variables referenced by the named programs and their subroutines. l All the real-valued variables referenced by the named programs and their subroutines. l All the string variables referenced by the named programs and their subroutines. NOTE: The above items are not deleted if they are referenced by any program in memory that is not being deleted. Programs (and their referenced items) are not deleted if they are in an active program eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 60