FindEntry

FindEntry 1:

Determines the position of the specified entry in the array by comparing its content with the data sets of the array.

Syntax

VAR_INPUT
  pEntry          : PVOID;
END_VAR
VAR_OUTPUT
  nResultIndex    : DINT;
END_VAR

FindEntry 2: Inputs

Name

Type

Description

pEntry

PVOID

Pointer to the entry sought.

FindEntry 3: Outputs

Name

Type

Description

nResultIndex

DINT

Index position of the entry added.