[fpc-pascal] classes initialization

L L at z505.com
Tue Mar 25 04:27:05 CET 2008


Recently we discussed records and how to initialize them.. Jonas cleared 
up a lot for me (and Marco/Florian etc.). Thanks much..

So.. now I ask..

type something = class
 s: ansistring;
 int:integer
end;


Is "int" set to zero when it is a local scope var in a procedure created 
on the heap with Create()?

Or just the string is initialized since it is automated?





More information about the fpc-pascal mailing list