On 24 Mar 2008, at 12:03, ik wrote:
Since when are you using fillchar on a string in Pascal ? that's a C approach.

He's using it on a record. Initialising records with fillchar (regardless of what they contain) is quite common in Pascal as well. And as Florian mentioned, if you do this for a record containing refcounted fields, you first have to call finalize() on it.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to