> lang > sub | ![]() |
Previous Next Edit Rename Undo Search Administration
| Documentation |
[ STATIC ] { PUBLIC | PRIVATE } { PROCEDURE | SUB }
Identifier
(
[ Parameter AS Datatype [ , ... ] ] [ , ]
[ OPTIONAL Optional Parameter AS Datatype [ , ... ] ] [ , ] [ ... ]
)
...
END
This declares a procedure, i.e. a method that returns nothing. To return a value, use FUNCTION
The END keyword indicates the end of the procedure.