Responding to "torsi" on Thread " mlab / mcc variable usage problems."

Can you post your code so we can look at it??

In ‘C’, declaring variables as static in the Global Scope, causes them to not be visible outside of functions in that Source Code file, like Private Variables in C++ Classes.

I would like to see your source code for this as well… IIRC the printf() does not support Floating Point values, so try Char’s and Int’s for your testing…

I can not think of a compiler switch that would do this… What happens if you start with a “fresh copy” of the Default Code and add one Integer Variable to it and Initialize it, and printf() it??