next up previous contents
Next: Subroutine Example Up: Program Units Previous: Introduction to Procedures

Subroutine Syntax

Syntax of a (non-recursive) subroutine declaration:

tex2html_wrap44449

 
 SUBROUTINE  tex2html_wrap_inline43037  procname  tex2html_wrap_inline43039 [ ( tex2html_wrap_inline43037  dummy args  tex2html_wrap_inline43039 ) ]

tex2html_wrap_inline43037  declaration of dummy args tex2html_wrap_inline43039

tex2html_wrap_inline43037  declaration of local objects tex2html_wrap_inline43039

...

tex2html_wrap_inline43037  executable stmts tex2html_wrap_inline43039

[ CONTAINS

tex2html_wrap_inline43037  internal procedure definitions tex2html_wrap_inline43039 ]

END [ SUBROUTINE [ tex2html_wrap_inline43037  procname tex2html_wrap_inline43039 ] ]

For more information, click here gif


next up previous contents
Next: Subroutine Example Up: Program Units Previous: Introduction to Procedures

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996
Not for commercial use.