6.5.2 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;