On 25 Mar 2008, at 04:27, L wrote:

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()?

New class instances are always automatically filled with zeroes upon creation.


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

Reply via email to