Re: [fpc-pascal] classes initialization

2008-03-25 Thread Jonas Maebe
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.

[fpc-pascal] classes initialization

2008-03-24 Thread L
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 C