LOTUSSCRIPT LANGUAGE
A sub signature specifies the sub name, its scope, the sorts of values that it expects the application to pass it (if any), and the lifetime of the variables that it defines (if any).
You can define a sub at module level or as a member of a user-defined class. Declaring a sub before you define it lets you refer to that sub before you actually define it. You use the Declare statement to explicitly declare a sub as a member of a user-defined class or at module level in a product that does not support the Integrated Development Environment (IDE). The IDE automatically generates a Declare statement for each sub that you define at module level, so you should not include any.
For information on the four specialized kinds of sub that you can define\Sub Initialize, Sub Terminate, Sub New, and Sub Delete, see "Specialized subs" later in this chapter.
See Also