6.6.3 Invocation

Method invocation for classes is no different than for objects. The following is a valid method invocation:

Var  AnObject : TAnObject;  
begin  
  AnObject := TAnObject.Create;  
  ANobject.AMethod;