Hello FPC-Pascal, Wednesday, April 14, 2010, 5:13:51 PM, you wrote:
BA> Supposing I have a record-type variable, could someone here BA> tell me how to initialize it properly so that FPC could notice the BA> initialization, since the FillByte() and FillChar() way do not BA> cause FPC aware of it? I'm using: procedure InitRecord(out Rec; const ASize: SizeUint); begin {$PUSH} {$HINTS OFF} FillByte(Rec,ASize,0); {$POP} end; Unfortunatly it can not be inlined :( due the formal parameter. -- Best regards, José _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal