LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
tst

String case structures should default to being case insensitive

Status: New

Today, when you create a case structure and wire a string to it, the case structure becomes case sensitive. This may have been relevant in the 1970s, when every bit was important, but these days I'm guessing that in at least 95% of the cases the structure should be case insensitive, although most people are probably not even aware that you can change it.

 

So, why not make the structure default to being case insensitive instead of case sensitive?

 

Actually, I would possibly even suggest removing the case sensitive option altogether, but this is probably required for some things and would break existing code which relies on this.

Message Edited by tst on 20.04.2010 04:43 PM

___________________
Try to take over the world!
14 Comments
tst
Knight of NI Knight of NI
Knight of NI
Also, regardless of whether this idea is accepted or not, there should probably be a visual indication in the case structure of whether it's case sensitive (maybe a glyph with a tip strip near the case selector).

___________________
Try to take over the world!
Intaris
Proven Zealot
Visual indicator, definitely.
rolfk
Knight of NI
Changing such a setting would be not a good thing now, unless it is an environment option that one can change and which should be off by default. I surely wouldn't want case insensitive comparison as default eventhough I seldom use the case structure for string selectors.
Message Edited by rolfk on 04-30-2010 08:15 PM
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
elset191
Active Participant

Not sure if I like the default being insensitive, but I'm on board for a glyph denoting case sensitivity.

--
Tim Elsey
Certified LabVIEW Architect