On 16 Sep 2009, at 10:34, theo wrote:

While uninitialized variables are certainly a bad thing, it's still a
bit strange why it defaults to 'true' in this case.
It was 'false' with Delphi.

Uninitialised means exactly that: not initialised, neither with false, nor with true (both in Delphi and FPC). What you get is whatever random value happens to be in stack memory at that location, based on what previously executed code stored there.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to