GetTermValuePtr

Retrieves the value of an expression as a pointer.
Syntax
METHOD PROTECTED GetTermValuePtr : BOOL
VAR_INPUT
stTerm : POINTER TO ST_BA_StringTerm;
xResult_TypeClass : __SYSTEM.TYPE_CLASS;
xResult_Value : POINTER TO BYTE;
xResult_Size : DINT;
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
stTerm | POINTER TO ST_BA_StringTerm | Pointer to the structure of the expression. |
xResult_TypeClass | __SYSTEM.TYPE_CLASS | Target type for conversion. |
xResult_Value | POINTER TO BYTE | Pointer to the target variable. |
xResult_Size | DINT | Size of the target variable. |