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 4:19:06 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [1] - Trackback
Visual Studio 2005
Tracked by:
"Allignment 'bug' in vs 2005 | Resolved" (The glamorous world of software develo... [Trackback]
Saturday, August 13, 2005 12:35:23 AM (W. Europe Daylight Time, UTC+02: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.
About
© Copyright 2009
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.8275.16006
All Content © 2009, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)