Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
Page Index Toggle Pages: 1
Send Topic Print
private: static bool issue (Read 288 times)
Abbott HMG
Junior Member

Posts: 55
Bedford, NY, USA
private: static bool issue
Aug 8th, 2019 at 9:07pm
I define 2 private  static variables in a class (attached), but they are not recognized. If I place them globally, All works well.
Any suggestions?Thanks
Back to top

Please Register or Login to the Forum to see File Attachments
IP Logged
Visual Micro

Posts: 10753
United Kingdom
Re: private: static bool issue
Reply #1 - Aug 8th, 2019 at 9:12pm

Sorry that we don't have the resources to teach coding in this forum we are also not the best qualified for that.

With Visual Micro you are using standard Arduino IDE compatible syntax therefore the arduino.cc forum or stackoverflow.com, redit are good places to ask code questions
Back to top
IP Logged
Page Index Toggle Pages: 1
Send Topic Print