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

TrnDelete

Deletes a trend that is displayed on a current page. This trend may have been created by the TrnNew() function or by a trend object.

Syntax

TrnDelete(AN)

AN:

The AN where the trend is located.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

TrnNew

Example

TrnDelete(20);
! Deletes the trend at AN20.

See Also

Trend Functions