PA_GetLongintInArray


version 2003


PA_GetLongintInArray (array; index) → long

Parameter Type Description
array PA_Variable Array to access
index long Index of the element to access
Function result long Value of the index element in array

Description

The routine PA_GetLongintInArray returns the value of the index element of the long integer array array .

If array is not a eVK_ArrayLongint or if index is out of range, the routine returns 0.

Example

Get value of the current element (no error check in this sample).

   aLong = PA_GetLongintInArray( lArray, PA_GetArrayCurrent( lArray ) );

See Also

PA_SetLongintInArray .

Error Handling

None.