JCL Help:FileByLevel
JCL Help: FileByLevel Function
Search in JCL Help
Search in all projects
Summary
Returns the name of the file.
Pascal
function FileByLevel(const Level: Integer = 0): string;
Parameters
Parameters | Description |
const Level: Integer = 0 | Caller level for which you want to know the source file in which it resides. 0 is the currently executing routine, 1 is the caller, 2 is the caller of the caller, etc. |
Return Value
Filename of the source file in which the routine specified by Level exists.
Description
FileByLevel returns the name of the source file in which the routine specified by Level exists. Level 0 denotes the currently executing routine, 1 denotes the caller of the routine, 2 the caller of the caller, etc.
See Also
ModuleByLevel ProcByLevel LineByLevel MapByLevel FileOfAddr ModuleOfAddr ProcOfAddr LineOfAddr MapOfAddr
About
Unit
Donator
Petr Vones
Notes
Usage of this function requires building the module with a detailed map file. Use the Linker tab in the Project Options dialog to enable creation of a map file.
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