CArray:Get


The Get method returns the value of the CArray member at a specified index.

Syntax

value = CArray:Get( n )

bullet.gif    n is the index of the member to retrieve.

bullet.gif    value is the value of the member and may be a number, string, or other Lua value..

bullet.gif    On success, the value is returned.

bullet.gif    On failure, nil is returned.

Remarks

The returned value is whatever type was stored in the array at the specified index. If the index is out of range this method returns nil.

Related Topics

CArray, Set


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.