Is Select Case statement case sensitive in VB6?

Reply

Join Date: Nov 2004
Posts: 1
Reputation: seevo is an unknown quantity at this point 
Solved Threads: 0
seevo seevo is offline Offline
Newbie Poster

Is Select Case statement case sensitive in VB6?

 
0
  #1
Nov 2nd, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 200
Reputation: mnemtsas is an unknown quantity at this point 
Solved Threads: 1
mnemtsas's Avatar
mnemtsas mnemtsas is offline Offline
Junior Poster

Re: Is Select Case statement case sensitive in VB6?

 
0
  #2
Nov 2nd, 2004
Originally Posted by seevo
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC