Op 2019-01-01 om 01:55 schreef Martok:
The non-initialization of 'Result' has bitten me more than once in Delphi.
Aye. But it's rather rare in Delphi and very common in FPC, so not everyone
might have encountered it (that's how I'm justifying to myself putting it on the
Portability List instead of starting a Common Mistakes set ;-) ).
If you never do optimized builds in Delphi it is rare. But if you do
optimized builds and have a lot of string code, you'll encounter it
sooner or later.
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal