A: |
Exactly! Note that this is true only for global and static variables.
To force reinitializing, you must put explicitely something
like
a = 10;
at the begining of the main program!
Note, however, that if the program is archived,
the initial values will be restored each time you run the program, because archived
programs are reloaded from the archive memory to the RAM on each start, similarly
to the programs are reloaded from disks on "standard" computers (PC, etc.) each
time when you start them. The same is true for compressed programs (for obvious
reasons) and if you use a data variable and have TIGCC create a copy every time
it is used.
|