Bryan Posted May 21, 2004 Report Share Posted May 21, 2004 I think it would be beneficial to have case structures able to select a case based on matching of a regular expression when a string is wired to the switching terminal. Right now, they can accept ranges of values for one case... i.e. "a...c" will accept any character from a-b. It would be neat to be able to type in something like "foo*, *bar" and have it accept things like "foo, foobar, foo bar, lowbar, low bar" etc. Quote Link to comment
JohnRH Posted October 8, 2004 Report Share Posted October 8, 2004 I think it would be beneficial to have case structures able to select a case based on matching of a regular expression when a string is wired to the switching terminal. Right now, they can accept ranges of values for one case... i.e. "a...c" will accept any character from a-b. It would be neat to be able to type in something like "foo*, *bar" and have it accept things like "foo, foobar, foo bar, lowbar, low bar" etc. 837[/snapback] Great idea! Especially considering the fact that other text based languages have this ability! Quote Link to comment
Mike Ashe Posted June 14, 2005 Report Share Posted June 14, 2005 I agree, great idea, but I hope you're not holding your breath. Creating a subVI to do the expression parsing and choose from a list of the CASE strings is more likely to get done before christmas. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.