EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Enumerated string comparisons
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Wed, 09 Oct 2013 14:17:36 -0700
On 10/09/2013 11:17 AM, Benjamin Franksen wrote:
> Hi Andrew
>
> Am Mittwoch, 9. Oktober 2013, 16:38:53 schrieb Johnson, Andrew N.:
>> Question for core developers: Should we modify the Enum string parser
>> to try using case-independent or other fuzzy string comparisons if a
>> string value doesn't match using the case-dependent comparison or
>> after trying to convert the string to an integer? We could make the
>> IOC dwim ("do what I mean", a Perl term) in the case below, but the
>> result is a less precise database so I'm not sure if this is a good
>> idea or not and how far we should take it.
> I share your reservations about making the parser more dwim. My main 
> objective is that it makes the specification more complex.

Me too.  It is occasionally annoying, but I think better in the long
term, to have string matching.


Replies:
Re: Enumerated string comparisons Michael Davidsaver
Re: Enumerated string comparisons Benjamin Franksen
References:
Enumerated string comparisons Johnson, Andrew N.
Re: Enumerated string comparisons Benjamin Franksen

Navigate by Date:
Prev: Re: Enumerated string comparisons Benjamin Franksen
Next: Re: Enumerated string comparisons Eric Norum
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Enumerated string comparisons Benjamin Franksen
Next: Re: Enumerated string comparisons Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·