Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Getting the current line number in Delphi (https://www.delphipraxis.net/214823-getting-current-line-number-delphi.html)

DP News-Robot 15. Mär 2024 09:40

Getting the current line number in Delphi
 
Note to self: There is an easy way to get the current line number in Delphi, using the following function and JclDebug: ReturnAddress is a compiler magic function in the system unit, introduced with Delphi XE2. TJclLocationInfo and GetLocationInfo are from JclDebug. Use it like this: Edit: JclDebug already contains a function LineByLevel which dos … <a href="https://blog.dummzeuch.de/2024/03/15/getting-the-current-line-number-in-delphi/" class="more-link">Continue reading


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:02 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz