switch a member from const to variable and viceversa

  • Thread starter Thread starter Romain TAILLANDIER
  • Start date Start date
R

Romain TAILLANDIER

Hi group

I have a variable that i need for some time to pass to a const variable (It
is a sav buffer, to prevent lost of data.)
Then after my traitement, i need to repass it to a no const varable.

It possible to switch the const attribut as well ??

thank
ROM
 
No, the point of a constant is that it never changes. If you will *ever*
change it, it needs to be a variable.
 
Back
Top