Cicode Programming Reference > Cicode Function Categories > Array Functions > ArrayDestroyByAn

ArrayDestroyByAn

Destroys an array associated with the specified AN.

Syntax

INTArrayDestroyByAn(INT nAN)

nAN:

The AN number associated with the array that will be destroyed.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

ArrayCreate, ArrayCopy, ArrayCreateByAn, ArrayDestroy, ArrayExists, ArrayExistsByAn, ArrayFillFromAlarmDataByAn, ArrayGetArrayByAn, ArrayGetInfo, ArrayGetInt, ArrayGetMapName, ArrayGetMapNameByAn, ArrayGetIntByAn, ArrayGetString, ArrayGetStringByAn, ArrayIsDirty, ArraySetInt, ArraySetIntByAn, ArraySetIsDirty, ArraySetString, ArraySetStringByAn, ArraySwap, DspArrayByAn

Example

error1 = ArrayDestroyByAn(nAn);

See Also

Published June 2018