Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

ArrayCopy

  • Last UpdatedJul 18, 2023
  • 1 minute read

Makes a copy of an array.

Syntax

INT ArrayCopy(INT hArray)

hArray:

The handle of the array you want to copy.

Return Value

The handle of the created copy. If unsuccessful, –1 is returned. The error code can be obtained by calling the IsError Cicode function.

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

Example

...
hArray2 = ArrayCopy(hArray1);
...

See Also

Array Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in