Florian wrote..
Records and objects containing automated fields are initialized? Or do I
miss something?

Oh...?
This is something I have never been clear about :-(

So a record with an ansistring and an integer.. for example even local scope..

Will be all zeros?

procedure test;
var somerec: Tsomerec;
begin
 // these checks are okay?
if somerec.astring = '' if somerec.someint = 0

end;

i.e. above is not random data?

The reason I ask is because some times i have had odd buggy behavior when I use 
local scope records... but when I use a global scope one it is okay..

If this is some bug or screwy code of mine I want to find out and solve this.






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

Reply via email to