[fpc-pascal] Initializing a record-type variable to get rid of the false-positive compiler hint
joshyfun at gmail.com
Wed Apr 14 18:54:50 CEST 2010
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?
procedure InitRecord(out Rec; const ASize: SizeUint);
Unfortunatly it can not be inlined :( due the formal parameter.
More information about the fpc-pascal