Subroutines > Detailed Descriptions > MIAMEX

MIAMEX 109: Delete module from memory

xcall MIAMEX, MX_USRDEL, idx, name {,flags}

This function 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 MIAMEX 107 for more information on A-Shell’s user memory architecture.

DEL.LIT, which is the typical way to load a module into memory.