0
votes
Vote UpVote

Delphi function result assignments before the function returns…

The Wiert Corner – Eric Grange: Actually it is not that assignments of function return values can happen “when the function raises an exception” but rather than they can happen before the function returns. Note that this is not limited to large return types, it can also happen on reference counted types (string, dynamic array, variant and interface), though this is contextual as well… Got bit by the interface thing a few months ago, an interface release was triggering an exception when the result was assigned, the call stack looked way out of synch with the code, so various compilation and and ...
Favorite? Off-Topic? jpluimers @ 2019-05-01 13:04

Statistics

Visits: 233
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)