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 If line semi colon (Read 2664 times)
cygnetuk
Newbies
*
Offline


Posts: 7
Location: Farnworth Bolton Lancs UK
Joined: Mar 22nd, 2013
If line semi colon
Jul 15th, 2013 at 8:06pm
Print Post  
Hi   
Just a small bug if indeed it can be classed as that but as a newcomer to Arduino I sometimes seem to do silly mistakes, which is precisely what happened today, and I surprised that the error wasn't spotted at compile time.
I had simply ended an IF statement with a semi colon as follows
if (count>=iterations); 
which of course wont function but given the excellent way other errors are trapped by VM I am surprised this slips through. 

regards

Wes
  
Back to top
IP Logged
 
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Re: If line semi colon
Reply #1 - Jul 15th, 2013 at 8:17pm
Print Post  
Wes
I dont know if it is really and error. The statement will just do nothing after validation as there is nothing specified. I am sure I have done that before elsewhere and it was not an error. I think it will just not be linked in when the code is optimized.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint