xcall MIAMEX, MX_USRDEL, idx, name {,flags}
MX_USRDEL allows you to delete a module from user memory.
Parameters
idx (Num)
will return the index entry number of the deleted module, if successful, or 0 if not deleted.
name
should be set to the name and extension of the module to delete (e.g. "EMAILX.SBX").
flags (Num)
may be set to USRMEM_UNLOCK to allow deletion of a module that is locked in memory.
See Also
• The notes under MX_USRMAP for more information on A-Shell’s user memory architecture.
• DEL.LIT, which is the typical way to delete a module from memory.