954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Is Select Case statement case sensitive in VB6?

While maintaining a legacy web app, we found what appears to be a case sensitivity "issue" with the "Select Case" statement in VB6.

Is the "Select Case" statement case sensitive? It appears to be to us, but we are somewhat surprised and wanted some additional feedback.

Thanks

PS

seevo
Newbie Poster
1 post since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

While maintaining a legacy web app, we found what appears to be a case sensitivity "issue" with the "Select Case" statement in VB6.

Is the "Select Case" statement case sensitive? It appears to be to us, but we are somewhat surprised and wanted some additional feedback.

Thanks

PS


Yes if you are comparing strings. Of course. "Foo" <> "foo"

Try doing a lcase on the select test.

mnemtsas
Posting Whiz in Training
200 posts since Jul 2004
Reputation Points: 16
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You