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

x | Cell to be deleted
a | An array

Further information
1. The first form of the routine deletes a single cell of the array, when applied to a dense array the corresponding cell is only reset to its initial state. 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, delcell.
Parent Topic Predefined functions and procedures

© 2001-2026 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.