delcell
delcell |
Purpose
Synopsis
procedure delcell(x:array reference)
procedure delcell(a:array)
Arguments
x
|
Cell to be deleted
|
a
|
An array
|
Further information
1. The first form of the routine can only be applied to dynamic arrays (it is not possible to delete a cell of a dense array). Using the second syntax of the procedure will release all cells of the array, note that in the case of a dense array the entire data set will be reallocated when the array is accessed again.
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