Support Board
Date/Time: Sat, 10 May 2025 07:16:22 +0000
Post From: Question Regarding Autoloop = True & Data Retention STD::List ?
[2013-07-17 20:39:56] |
StevieD - Posts: 39 |
I haven't tried this, but I **think** if your std:list is declared at the module level (preferrably as it's own class) you would be able to if (sc.SetDefaults) { // init mystdlistobject // "normal" sc.setdefault code return; } And in the data processing portion of your study you would destruct if (sc.LastCallToFunction) { // destruct mystdlistobject } Like I said, I did not try this and I do not know if this is acceptable to SCSupport or if it is usable on multiple charts. My apologies in advance if my understanding of your question or the capabilities of SC is flawed. |