Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 14:54:59 +0000



Post From: Error with persistent variables called from another study

[2019-03-06 11:23:37]
User470516 - Posts: 78
Dear SC Team,

Let int& 'a' be a ref to a persistent variable of studyA called in studyB. Throughout the all programm, the value received by StudyB always is the value of 'a' for sc.Index = sc.ArraySize in StudyA instead of the current value at any sc.Index. This has been working for months without problem. I updated SC about 2 weeks ago. I have a problem very similar to the one posted by one of your clients here :Persist Variables who claims it was fixed without him changing his code. Would we be facing something similar?

I precise that persitentvars are reset on recalculation && sc.Index == 0 as stated in the documentation.

Thank you for the support.

Regards,

Laurent