SUB
SUB name[([BYVAL] arg AS type [,...])]
Instructions
END SUB
Declaration of the procedure name.
The procedure can require the arguments arg in input.
BYVAL specifies an argument passed by value.
The arguments are declared with the type: STRING, INTEGER, BOOLEAN, DOUBLE or TIME.