PA_GetRealInArray

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_GetRealInArray (array; index) double

ParameterTypeDescription
arrayPA_VariableArray to access
indexlongIndex of the element to access
Function resultdoubleValue 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

PA_SetRealInArray.

Error Handling

None.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next