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/)
-   -   Small Delphi tricks: initialise out parameters in the caller when they are stored in (https://www.delphipraxis.net/206496-small-delphi-tricks-initialise-out-parameters-caller-when-they-stored.html)

DP News-Robot 29. Dez 2020 05:10

Small Delphi tricks: initialise out parameters in the caller when they are stored in
 
Two small Delphi tricks: On out parameters When you have out*parameters, and the caller passes local variables for them, remember that: the compiler then will not issue an “unitialised variable” warning any more because it expects the callee to fill that parameter if the local variable is non-managed, it will have a random value depending […]

Weiterlesen...


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

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