Initializing help system before first use

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. 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
Section Arrays, create, reset.

© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.