Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 00:42:52 +0000



support for sc.PersistVars bool

View Count: 1267

[2016-03-27 19:52:33]
@sstfrederik - Posts: 404
Can boolean variables be made persistent in SC?

Can this be added? sc.PersistVars->b1 through sc.PersistVars->b16. Boolean data type

I can do it with integers but would like to use them for something else.
thanks.
[2016-03-27 22:09:12]
Sierra Chart Engineering - Posts: 104368
sc.PersistVars is only for back compatibility.

Use the new GetPersistent functions and use integers:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Functions.html#scGetPersistentInt

We will not add Booleans because there is not a standard length for those.
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
[2016-03-27 23:38:58]
@sstfrederik - Posts: 404
thanks for the clarification.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account