Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • 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
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic private: static bool issue (Read 1038 times)
Abbott HMG
Junior Member
**
Offline


Posts: 56
Location: Bedford, NY, USA
Joined: May 10th, 2019
private: static bool issue
Aug 8th, 2019 at 8:07pm
Print Post  
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
Abbott
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: private: static bool issue
Reply #1 - Aug 8th, 2019 at 8:12pm
Print Post  
Hi,

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
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint