[fpc-pascal] Initializing a record-type variable to get rid of the false-positive compiler hint
Bihar Anwar
bihar_anwar at rocketmail.com
Thu Apr 15 17:05:51 CEST 2010
Thanks Bart, forget my silly comments before, you did it cleverly.
----- Original Message ----
From: Bart <bartjunk64 at gmail.com>
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Sent: Thu, April 15, 2010 10:02:33 PM
Subject: Re: [fpc-pascal] Initializing a record-type variable to get rid of the false-positive compiler hint
> FillByte(oSearchOptions, SizeOf(oSearchOptions), 0);
oSearchOptions := []; //It's an empty set
Bart
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list