
METHODEND Verb
Syntax
METHODEND
Description
In BBj 6.0 and higher, the METHODEND verb marks the end of a Custom Object method definition.
Notes
The METHODEND verb must be the only statement on the line (with one exception: it can end with a ; REM comment).
The METHODEND verb is a syntax error if it's not paired with a preceding METHOD verb.
The METHODEND verb may not be nested within another METHOD.
A method definition (a block of code between METHOD and METHODEND) defines a variable scope. The only variables that are visible within that scope are the parameters specified in the method parameter list and the fields defined in the class. Labels and local variables in a method are only visible within that method.