JCL Help:FILE OF ADDR

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the filename for an address.


Pascal

 function __FILE_OF_ADDR__(const Addr: Pointer): string; deprecated;


Parameters

Parameters Description
const Addr: Pointer The address for which you want to know the source code file.


Return Value

Returns the name of the source code file in which the specified address is defined.


Description

__FILE_OF_ADDR__ returns the name of the source code file given an address.


See Also

__FILE__ __MODULE__ __PROC__ __LINE__ __MAP__ __MODULE_OF_ADDR__ __PROC_OF_ADDR__ __LINE_OF_ADDR__ __MAP_OF_ADDR__


About

Unit

JclDebug


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. This function is obsolete. Use FileOfAddr instead.


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