Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 10:26:16 +0000



Post From: Use of Global variable in other Study

[2016-04-18 19:16:42]
User53601 - Posts: 106
Hello,

I declared global variable in StudyA:

SCDLLName("StudyA")
int GlobalLastSeparatorIndex;


Then I want to get the value of this global variable in StudyB:
int Test = GlobalLastSeparatorIndex;


Build Output gives this message:
error: GlobalLastSeparatorIndex was not declared in this scope


How to make StudyB aware of the Global variable?

thank you