Page 1 of 1

Are there drawbacks of storing permanent variables?

Posted: 02 Apr 2022 12:02
by John_C
When your needs to store some value across sessions, there are two ways for this: to store it in a custom ini file or as a permanent variable. Storing it as a permanent variable also means that you need to enable Configuration | Refresh, Icons, History | Remember permanent variables.

Since the "Remember permanent variables" option can be turned on and off, I suspect there can be some drawbacks of using it. Is it really so and it is generally better to use ini files instead?

Re: Are there drawbacks of storing permanent variables?

Posted: 03 Apr 2022 11:47
by highend
you need to enable Configuration | Refresh, Icons, History | Remember permanent variables.
Nope, there is also readpv and writepv so it's just up to you how you want to handle this...