Procedure method statement

Description

Procedure method statements are similiar to procedure statements, the only difference is that the procedures executed by procedure method statements are methods of instance variables (see object variables for more information about instance variables) instead of normal procedures.

Syntax

(NOTE: for clarity some parts of the syntax are omitted, see Irie Pascal Grammar for the full syntax):

   procedure-method-statement = procedure-method-specifier [ actual-parameter-list ]

   actual-parameter = expression | variable-access |
       procedure-identifier | function-identifier

   actual-parameter-list = '(' actual-parameter { ',' actual-parameter } ')'

   procedure-method-identifier = identifier

   procedure-method-specifier = object-variable '.' procedure-method-identifier