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
|