End
From Xojo Documentation
Language Keyword
Indicates the end of a variety of code blocks.
Usage
End [ If | Select Case | Sub | Function | Try ]
Notes
The type of block is an optional part of the command but is usually included for clarity.
Sample Code
See Also
If, Select Case, Sub, Function, Try