PA_GetIntegerInArray

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

version 2003


PA_GetIntegerInArray (array; index) short

ParameterTypeDescription
arrayPA_VariableArray to access
indexlongIndex of the element to access
Function resultshortValue of the index element in array

Description

The routine PA_GetIntegerInArray returns the value of the index element of the short array array.

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

Example

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

   aShort = PA_GetIntegerInArray( iArray, PA_GetArrayCurrent( iArray ) );

See Also

PA_SetIntegerInArray.

Error Handling

None.


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