Support Board
Date/Time: Fri, 29 Nov 2024 02:57:32 +0000
Post From: do standard variables reset to zero every time a study functions loops?
[2023-03-15 14:55:16] |
Berliner JFK - Posts: 45 |
I have a study function which autoloops and uses both persistent and standard variables. The persistent variables retain their value after every loop, which is expected behavior. I've observed, though, that standard variables (e.g. int test = 1;) can also retain their value after every loop. Is it expected behavior that standard variables do not erase/reset every time the study returns (loops)? Thank you very much! Date Time Of Last Edit: 2023-03-15 16:36:46
|