GetComment

GetComment 1:

This method returns the comment.

Syntax

METHOD GetComment : BOOL
VAR_INPUT
    sResult       : REFERENCE TO STRING;
    nResult       : UDINT; // buffer size in bytes
END_VAR

GetComment 2: Inputs

Name

Type

Description

sResult

REFERENCE TO STRING

Reference to a string in which the result is to be stored.

nResult

UDINT

Length of the sResult

GetComment 3: Outputs

Name

Type

Description

GetCommend

BOOL

Returns the success whether a comment was provided.