Re: [fpc-pascal]Re: Behavior of system.New procedure

2004-07-03 Thread Luiz Américo
Jeff Pohlmeyer wrote: After allocating a new instance for Arec with New proc, the record fields (APointer and Aint) will be always zero filled or will receive random values? You must do as if it contains the most unexpected data, and therefore initialise the fields *yourself*, and the safer is t

[fpc-pascal]Re: Behavior of system.New procedure

2004-07-03 Thread Jeff Pohlmeyer
> > After allocating a new instance for Arec with New proc, > > the record fields (APointer and Aint) will be always > > zero filled or will receive random values? > You must do as if it contains the most unexpected data, > and therefore initialise the fields *yourself*, and the > safer is to d