END

END

Indicates the end of a procedure or a function. See Method declaration.


Differences from VB

In VB, the End command closes all forms and files and terminates the program.

In Gambas, END is more like End Function combined with End Sub: it closes the definition of a subroutine. For the functionality of VB's End command, use QUIT or close all open windows.


See also

EXEC, STOP


Previous: ELSE Next: END SELECT