Prog Subroutines

From Compost Wiki
Jump to navigation Jump to search

Prog Subroutines

Usage

A routine identified by a user-defined command (any word beginning with a letter and ending with a colon). In the following example, anytime the post processor encounters the command "DoSubComment" the flow of processing will be directed to this previously defined subroutine:

DoSubComment:
IF UseComments? AND SubComment?
(SUB NUMBER: Program#) EOL
END
RETURN