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

Re: switch a member from const to variable and viceversa by Chris

Chris
Thu Jan 15 11:51:25 CST 2004

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

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Romain TAILLANDIER" <romain.taillandier@mfactories.com> wrote in message
news:%23oE0GG12DHA.2224@TK2MSFTNGP10.phx.gbl...
> 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
>
>



Re: switch a member from const to variable and viceversa by Romain

Romain
Fri Jan 16 02:55:39 CST 2004

that's what i guess ....
thank you to confirm ....


"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> a écrit dans le message
de news: #A6BzA52DHA.1184@TK2MSFTNGP10.phx.gbl...
> No, the point of a constant is that it never changes. If you will *ever*
> change it, it needs to be a variable.
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
>
> "Romain TAILLANDIER" <romain.taillandier@mfactories.com> wrote in message
> news:%23oE0GG12DHA.2224@TK2MSFTNGP10.phx.gbl...
> > 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
> >
> >
>
>