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. 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