> > 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 do it the quicker.
As a shortcut to initialize all fields to zero (or nil)
you can just do this:
New(ARec);
FillChar(ARec^, SizeOf(TRec), #0);
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
_______________________________________________
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal