Initialize Variables |
Top Previous Next |
User interface > Translation options > Tuning options > Initialize Variables
If the tuning option Initialize variables is chosen, default values are assigned to all variables.
The initialization of variables is in Delphi and C++ is the same. Local automatic variables and normal variables of a class aren't initialized, while global and static (class) variables are initialized to zero. Nevertheless Delphi2Cpp offers the option to initialize all variables explicitly, either to achieve reproducible behave or just to suppress compiler warnings. |
This page belongs to the Delphi2Cpp Documentation |
Delphi2Cpp home Content |