[fpc-devel] Redefine FillChar() to use out parameter instead
Graeme Geldenhuys
graeme at mastermaths.co.za
Thu Nov 19 11:24:02 CET 2009
Paul Ishenin wrote:
>
> Compiler will add a flag for each var/const argument that they dont
> require that checks.
Can't the compiler simply initialize structured types by default?
Initialize char arrays to empty strings, other structures like pointers
to nil, byte arrays to #0 etc..?
After all, this is already done for AnsString, Integer type, real types
etc...
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list