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

ArrayGetMapNameByAn

Retrieves the name of the map for an array associated with a specified AN.

Syntax

STRING ArrayGetMapNameByAn(INT nAN)

nAN:

The AN associated with the array.

Return Value

If successful, the requested map name as a string. If unsuccessful, " " is returned. The error code can be obtained by calling the IsError Cicode function.

Related Functions

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

Example

MapName = ArrayGetMapNameByAn(hAn);

See Also

Published June 2018