Are there drawbacks of storing permanent variables?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
John_C
Posts: 336
Joined: 16 May 2018 20:04

Are there drawbacks of storing permanent variables?

Post 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?

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Are there drawbacks of storing permanent variables?

Post 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...
One of my scripts helped you out? Please donate via Paypal

Post Reply