ReplaceToken2

ReplaceToken2 1:

Replaces a token with a new value. This method replaces the content of a token with a new value and adjusts the subsequent token positions accordingly.

Syntax

METHOD PROTECTED ReplaceToken2 : BOOL
VAR_INPUT
  stToken : POINTER TO ST_BA_StringToken;
  sValue  : POINTER TO STRING;
END_VAR

ReplaceToken2 2: Inputs

Name

Type

Description

stToken

POINTER TO ST_BA_StringToken

A pointer to the token to be replaced.

sValue

POINTER TO STRING

Pointer to the new value.