Initializing help system before first use

delcell

delcell


Purpose
Delete a cell or all cells of a dynamic array.
Synopsis
procedure delcell(x:array reference)
procedure delcell(a:array)
Arguments
Cell to be deleted
An array
Further information
1. Only cells of arrays explicitly declared dynamic can be deleted. This function has no effect with other types of array.
2. Deleting a cell of an array of referenced objects (like mpvar) may not effectively release that object. Actually, a referenced object is released only when all its references have been removed. For instance, if an object appears in a set, deleting its main reference using delcell will not remove this object from the set.
Related topics
Section Arrays, create.