Unlike functions, there's no need to forward declare a procedure. It can be placed anywhere in your code, before or after you call it using RUN
.
RUN proc.
//Procedure starts here
PROCEDURE proc:
//Procedure ends here
END PROCEDURE.
The procedure name is folowed by a colon sign telling us that this is the start of a block. The block ends with END PROCEDURE.
(but this can be replaced with simply END.
).