Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
meolsen
PostPosted: Jul 11, 2012 - 09:43 AM
Resident


Joined: Jul 27, 2011
Posts: 582
Location: Atmel, Norway

Quote:

Here's an excerpt from the "official" Atmel help available on the help menu. Look it up in the help to get the nice formatting

Help Viewer Home
* Atmel Studio User Guide
* * Debugging
* * * QuickWatch,Watch, Locals...
* * * * Expression formatting


http://www.atmel.no/webdoc/atmelstudio/ ... xpressions

_________________
:: Morten
 
 View user's profile Send private message  
Reply with quote Back to top
danv
PostPosted: Jul 11, 2012 - 09:57 AM
Hangaround


Joined: Mar 01, 2011
Posts: 157
Location: Atmel, Norway

Mistery solved:

If the expression after comma is a symbol, it will be treated as a formatting string only if it doesn't evaluate as a variable. In the latter case, comma behaves as the regular C comma operator.

We should probably change this to avoid the current confusion when people have local variables named "o", "x" or "b".

dan
 
 View user's profile Send private message  
Reply with quote Back to top
larryvc
PostPosted: Jul 11, 2012 - 05:23 PM
Raving lunatic


Joined: Dec 06, 2007
Posts: 2512
Location: Redmond, WA USA

danv wrote:
Mistery solved:

If the expression after comma is a symbol, it will be treated as a formatting string only if it doesn't evaluate as a variable. In the latter case, comma behaves as the regular C comma operator.

We should probably change this to avoid the current confusion when people have local variables named "o", "x" or "b".

dan

Yes dan, I solved that in this post above. Wink

http://www.avrfreaks.net/index.php?name ... 894#972894

_________________
Larry

Those afraid to embrace the future will quickly fade into the past. - larryvc
 
 View user's profile Send private message  
Reply with quote Back to top
danv
PostPosted: Jul 12, 2012 - 08:42 AM
Hangaround


Joined: Mar 01, 2011
Posts: 157
Location: Atmel, Norway

Hehe, I guess this was a feature that turned out to be a bug. For reference, I've removed the feature (or bug) from the future release of Studio Smile
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits