F_BA_StrToAny

F_BA_StrToAny 1:

The F_BA_StrToAny function converts a string to the type specified by the ANY parameter. It is the pointer version of F_BA_StrToAnyEx.

Syntax

FUNCTION F_BA_StrToAny : BOOL
VAR_INPUT
  sValue : ANY_STRING;
END_VAR
VAR_INPUT
  xResult : ANY;
END_VAR

F_BA_StrToAny 2: Inputs

Name

Type

Description

sValue

ANY_STRING

Source string.

xResult

ANY

Target variable to which the data is converted.