PDA

View Full Version : inaccessible due to its protection level


RandyT
10-01-2008, 03:47 PM
I am developing several indicators and strategies that are co-dependent on each other. I made the mistake of changing some variable names and now I get this same compile error in every file being developed.

"inaccessible due to its protection level"

Is this cached somewhere that I need to clear it out before getting these files to compile again?

NinjaTrader_Ray
10-01-2008, 04:18 PM
What this means is that you have a script calling another script where likely the variable is private instead of public etc...

RandyT
10-01-2008, 04:23 PM
Thanks Ray, that is the problem...

Those haven't stuck out for me quite as well as "global" does... until now.

:o

NinjaTrader_Ray
10-01-2008, 04:26 PM
You are welcome, I am glad its resolved.