FindEntryPtr

FindEntryPtr 1:

Determines the position of an entry in the array by comparing its address with the addresses stored in the array.

Syntax

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

FindEntryPtr 2: Inputs

Name

Type

Description

pEntry

PVOID

Pointer to the entry sought.

FindEntryPtr 3: Outputs

Name

Type

Description

nResultIndex

DINT

Index position of the entry sought.