[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

#### 8.1.6.1 The Procedure

    procedure procedure identifier;
    declaration part
    begin
      statement part
    end;

or with a parameter list:

    procedure procedure identifier (parameter list);
    declaration part
    begin
      statement part
    end;

A procedure is quite like a sub-program: The declaration part consists of label, constant, type, variable or subroutine declarations in free order. The statement part consists of a sequence of statements. If parameter list is specified, parameters can be passed to the procedure and can be used in statement part. A recursive procedure call is allowed.

### See also

section 8.1.6.2 The Function, section 8.1.6.4 Subroutine Parameter List Declaration

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html