PA_Dial4DFindArrayLong

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

version 2003


PA_Dial4DFindArrayLong (dialog; variable; value; startPosition) long

ParameterTypeDescription
dialogPA_Dial4DDialog reference
variablechar*Name of the variable to access
valuelongValue to find in the array
startPositionlongStarting position of the search
Function resultlongIndex of the first matching value, or -1 if not found.

Description

The routine PA_Dial4DFindArrayLong searches the first occurrence of the specified value and returns its index. If the value is not found, it returns -1. You can specify the starting position of the search so to be able to scan the full array.

See Also

Find in array, PA_Dial4DFindArrayReal.

Error Handling

None.


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