Prog Subroutines: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
New page: '''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 p...
 
Dannym (talk | contribs)
No edit summary
 
Line 7: Line 7:
:DoSubComment:
:DoSubComment:


::[[IF]] [[UseComments?]] AND SubComment
::[[IF]] [[UseComments?]] AND SubComment?


::(SUB NUMBER: [[Program#]]) [[EOL]]
:::(SUB NUMBER: [[Program#]]) [[EOL]]


[[END]]
::[[END]]
 
:RETURN


[[Category:Prog Subroutines]]
[[Category:Prog Subroutines]]

Latest revision as of 16:54, 14 November 2012

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