Support Board
Date/Time: Thu, 09 Jan 2025 08:49:53 +0000
local variables vs persistent vars vs global vars
View Count: 1207
[2016-07-26 21:24:57] |
SteveW - Posts: 16 |
Is there any way, other than using persistent variables, to define variables that are local to a Study instance? This may be an obvious question but I can't find an answer yet. I see that persistent vars are local to a Study instance and their values can persist across Study instantiations. But what about vars where I want the value to not persist across instantiations and not be shared across multiple charts where the Study is instantiated? I would like to not have to manage persistent var values when I don't want the value to persist. Thanks, Steve Date Time Of Last Edit: 2016-07-26 21:28:35
|
[2016-07-26 21:32:23] |
SteveW - Posts: 16 |
Think I found the answer here: C++ Variables and Data Types: Scope of Variables
|
[2016-07-26 21:58:13] |
Sierra Chart Engineering - Posts: 104368 |
Yes that is the correct reference.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: