JCL Help:Caller

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the address of a calling routine.


Pascal

 function Caller(Level: Integer = 0; FastStackWalk: Boolean = False): Pointer;


Parameters

Parameters Description
Level: Integer = 0 The level of the caller for which you want the address. Level 0 is the currently executing routine, 1 is the caller, 2 is the caller of the caller and so forth.


Return Value

The address of the instruction of the routine specified by Level at which execution resumes when the function(s) return.


Description

Caller returns the address of the calling routine at the specified level. Specifying level 0 results in the currently executing routine, level 1 results in the caller of the currently executing routine, level 2 results in the caller of the caller of the, well, you get the picture. The returned address is the address of the instruction at which execution continues when the function(s) return.


About

Unit

JclDebug


Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page