| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Call an object method
Source position: objects.pp line 597
function CallVoidMethod(  | 
Method: CodePointer;  | 
Obj: pointer  | 
):pointer;  | 
CallVoidMethod calls the method with address Method for instance Obj. It returns a pointer to the instance.
If the method expects parameters, the stack may become corrupted.
  | 
Call a method with a single pointer argument  | 
|
  | 
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.  |