ExtendName

ExtendName 1:

This method extends the name.

Syntax

METHOD ExtendName : BOOL
VAR_INPUT
    sExtension : STRING(255);
END_VAR

ExtendName 2: Inputs

Name

Type

Description

sExtension

STRING(255)

Text to be appended to the right.

ExtendName 3: Return value

Name

Type

Description

ExtendName 

BOOL

Returns TRUE if the concatenation was successful.

Returns FALSE if the resulting character string is longer than the output character string and doesn't fit in the given output buffer. The memory requirement for the resulting string is then larger than that for the output string. The string is then truncated.