Sub Terminate (LotusScript® Language)

A user-defined sub that LotusScript® executes when the module containing the Terminate sub is unloaded.

Syntax

Sub Terminate

[ statements ]

End Sub

Usage

Include in the Terminate sub any statements that you want executed when LotusScript® unloads the containing module.

The Terminate sub is always Private.

The Terminate sub cannot take any arguments.

Example