F_BA_Str2ToAny

F_BA_Str2ToAny 1:

The F_BA_Str2ToAny function converts a string to the type specified by the ANY parameter.

Syntax

FUNCTION F_BA_Str2ToAny : BOOL
VAR_INPUT
  sValue  : POINTER TO STRING;
  xResult : ANY;
END_VAR

F_BA_Str2ToAny 2: Inputs

Name

Type

Description

sValue

POINTER TO STRING

Source string.

xResult

ANY

Target variable to which the data is converted.