[fpc-devel]zeroing on program startup

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sat Apr 7 00:43:46 CEST 2001


On Fri, 6 Apr 2001, Aleksey V. Vaneev wrote:

> Hello,
>
>   Just wanted to know if there is some
>   FillChar (StaticData, SizeOf (StaticData), 0); in program startup
>   procedure exists... Just wanted to get rid of my own FillChar's and
>   "v:=0, v:=false" type things in unit initializations. BTW, if this
>   "global" FillChar () is implemented then it removes my problems with
>   interdependencies. :)

I think all global variables are zeroed out at program startup.

Michael.





More information about the fpc-devel mailing list