StrConcatA (FUN)

FUNCTION StrConcatA : BOOL

This function concatenates |pstFrom| to |pstTo| if the |iBufferSize| from |pstTo| is big enough. The function will do its work either with native IEC-Strings or with strings coming from external functions.

InOut:

Scope

Name

Type

Comment

Return

StrConcatA

BOOL

It will return FALSE and does no concatenation if one of the strings is NULL or the buffer size is not big enough. TRUE otherwise.

Input

pstFrom

CharBufferPtr

Pointer to the string that shall be added to |pstTo|.

pstTo

CharBufferPtr

Pointer to the string where |pstFrom| shall be added to.

iBufferSize

INT

The size of |pstTo| in BYTE.