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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top