section Parameters for the list of parameters. A procedure declaration that is followed by a block implements the action of the procedure in that block. The following is a valid procedure :
Procedure declaration
![]()
![]()
![]()
Procedure DoSomething (Para : String); begin Writeln ('Got parameter : ',Para); Writeln ('Parameter in upper case : ',Upper(Para)); end;Note that it is possible that a procedure calls itself.