Cicode Programming Reference > Cicode Function Categories > Trend Functions Introduction > TrnGetPenComment

TrnGetPenComment

Retrieves the comment of a pen.

Syntax

TrnGetPenComment(AN, Pen)

AN

The AN of the chosen trend.

Pen:

The trend pen number:

0 - The pen currently in focus

1...8 - Pen1. . .Pen8

Return Value

The comment of the pen as a string.

Related Functions

TrnGetPen

Example

! For the trend at AN18
DspText(31,0,TrnGetPen(18,0));
! Displays the trend comment of the focus pen.

See Also

Trend Functions