|
![]() |
![]() |
version 2003
PA_GetRealInArray (array; index) → double
Parameter | Type | Description | |
array | PA_Variable | → | Array to access |
index | long | → | Index of the element to access |
Function result | double | ← | Value of the index element in array |
Description
The routine
PA_GetRealInArray
returns the value of the
index
element of the real (double) array
array
.
If array is not a
eVK_ArrayReal
or if
index
is out of range, the routine returns 0.
Example
Get value of the current element (no error check in this sample).
aDouble = PA_GetRealInArray( rArray, PA_GetArrayCurrent(rArray));
See Also
Error Handling
None.