Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this Select Case statement
Message
 
To
13/01/2005 15:36:07
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00976919
Message ID:
00977033
Views:
39
This message has been marked as the solution to the initial question of the thread.
It is very often the comments that are causing this misalignment!

Try to put your comment to the end of the line like this:
Case 1  ' French
or put your comment inside the Case like this:
Case 1  
    ' French
>I have this Select Case statement:
>
>
>        Select Case tnLanguage
>
>            ' French
>        Case 1
>                lcString = oData(lnCounter).Row("French")
>
>                ' English
>            Case 2
>                lcString = oData(lnCounter).Row("English")
>
>        End Select
>
>
>What you see here is exactly the formatting provided by the interface. I just don't understand why the Case 1 is not indented properly with the rest. I started to have those issues last night. Even if I force a formatting, this won't change. Anyone could see something wrong in the code here that would generate such behavior?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform