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?
Are there drawbacks of storing permanent variables?
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Are there drawbacks of storing permanent variables?
Nope, there is alsoyou need to enable Configuration | Refresh, Icons, History | Remember permanent variables.
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
XYplorer Beta Club