Standing on the shoulders of giants. RSS 2.0
# Thursday, August 11, 2005

In Visual Studio 2005 there appears to be an allignment bug in switch/case statements as you can clearly see in this picture:

Vs_brace

[bug details in MSDN Product Feedback Center]

Thursday, August 11, 2005 7:19:06 AM (Pacific Daylight Time, UTC-07:00)  #    Comments [1] - Trackback
Visual Studio 2005
Tracked by:
"Allignment 'bug' in vs 2005 | Resolved" (The glamorous world of software develo... [Trackback]
Friday, August 12, 2005 3:35:23 PM (Pacific Daylight Time, UTC-07:00)
Well, that's an easy one: you just shouldn't use the curly braces in the 'case' statement (because there is no need for such a block as specified by the switch reference).
http://msdn.microsoft.com/library/en-us/csref/html/vclrfTheSwitchStatement.asp
Mark
Comments are closed.
Ads
About
© Copyright 2012
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.2011.0
All Content © 2012, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)