![]() |
How to write try finally blocks
I recently came across code another developer had done and they write try..finally blocks like the following:
procedure TSomeClass.DoSomething: string; <span style="font-family: courier;">var myClass: TMyClass; begin <span> myClass := nil; try myClass := TMyClass.Create; <span> &n ![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:55 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