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 Code that worked no longer does!?! (Read 2805 times)
Bazinoz
Newbies
*
Offline


Posts: 3
Joined: Sep 3rd, 2015
Code that worked no longer does!?!
Sep 3rd, 2015 at 11:53am
Print Post  
I just upgraded VM and Ard 1.6 with vis stud 2012.
I had a line of code
for (int i = 0; i < 4; array1[i] = array2[i++]);
This no longer works!
So I had to change it to
for (int i = 0; i < 4; i++)
  array1[i] = array2[i];
Why did it stop working?
Baz
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Code that worked no longer does!?!
Reply #1 - Sep 3rd, 2015 at 11:56am
Print Post  
Visual Micro just passes the code to the Atmel compiler which has been upgraded in recent Arduino versions.

You should find the same result if you try it in the Arduino Ide.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint