SetEntryPtr

SetEntryPtr 1:

Replaces an existing entry by a new one by overwriting the memory address of the existing entry with the memory address of the new entry.

Syntax

VAR_INPUT
  nIndex         : DINT;
  pEntry         : PVOID;
END_VAR

SetEntryPtr 2: Inputs

Name

Type

Description

nIndex

DINT

Index position of the entry to be replaced.

pEntry

PVOID

Pointer to the entry to be added.