| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Call a method with a single pointer argument
Source position: objects.pp line 598
function CallPointerMethod(  | 
Method: CodePointer;  | 
Obj: pointer;  | 
Param1: pointer  | 
):pointer;  | 
CallPointerMethod calls the method with address Method for instance Obj. It passes Param1 to the method as the single argument. It returns a pointer to the instance.
If the method expects other parameters than a single pointer, the stack may become corrupted.
  | 
Call an object method  | 
|
  | 
Call a local nested procedure.  | 
|
  | 
Call a local nested function with a pointer argument  | 
|
  | 
Call a local procedure of a method  | 
|
  | 
Call a local procedure of a method with a pointer argument  | 
|
  | 
Call a constructor with no arguments  | 
|
  | 
Call a constructor with a pointer argument.  |