Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 11:30:04 +0000



PersistVars

View Count: 824

[2015-12-31 18:20:04]
User884396 - Posts: 26
int& Var = sc.PersistVars->Integers[0];

int& Var = sc.GetPersistentInt(1);

Anyone know the difference?
[2015-12-31 18:31:12]
Sierra Chart Engineering - Posts: 104368
This is the proper way to do it:

int& Var = sc.GetPersistentInt(1);

The other method is out of date.
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:

Login

Login Page - Create Account