JCL Help:MAP OF ADDR

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the file name, unit name, procedure name and line number given an address.


Pascal

 function __MAP_OF_ADDR__(const Addr: Pointer; var _File: string; var _Module: string; var _Proc: string; var _Line: Integer): Boolean; deprecated;


Parameters

Parameters Description
const Addr: Pointer The address for which you want to know the location information.
var _File: string File name of the routine specified by Level
var _Module: string Unit name of the routine specified by Level
var _Proc: string Procedure name of the routine specified by Level
var _Line: Integer Line number of the routine specified by Level


Return Value

Returns True if the information was found, otherwise False.


Description

__MAP_OF_ADDR__ combines the __FILE_OF_ADDR__, __MODULE_OF_ADDR__, __PROC_OF_ADDR__ and __LINE_OF_ADDR__ routines into a single call.


See Also

__FILE__ __MODULE__ __PROC__ __LINE__ __MAP__ __FILE_OF_ADDR__ __MODULE_OF_ADDR__ __PROC_OF_ADDR__ __LINE_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 MapOfAddr 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