EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: found a bug in 3.13.9 dbLoadTemplate - after all that time
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Fri, 4 Jun 2004 21:25:53 +0200
On Friday 04 June 2004 15:09, Ralph Lange wrote:
>  o Allowing $(name=default) in the template database, as the first level
>    of default values.
>    (-> per template)
>
>  o Allowing a line like
>       default{SCAN=Passive, HOPR=9, LOPR=1, ADEL=0.5, MDEL=0.1}
>    in the head of a file entry in a substitution file, mutually
>    exclusive with the unchanged pattern{} keyword used for tabular
>    material - to avoid messy incomprehensive tables.

I can't see a conflict between pattern{} style instantiation and default{} 
definitions. Of course, default{} should appear before pattern (if at all). 
For the case that a <name> is mentioned inside the pattern{} as well as 
inside the default{}, two solutions make sense: First, disallow it. Second, 
the values in the table override the default, effectively disabling it. I 
prefer the second version because it is more uniform i.e. the same behavior 
as in the non-pattern case. NB: Allowing <name>=<default-value> inside a 
pattern{} would make sense only if one could remove the values for this 
<name> from the table which would destroy the 1:1 correspondence between 
columns and is therefore not a good idea, IMO.

>    The default specifications on this line would override the default
>    definitions in the template database.
>    (-> per use)
>  o Allowing the usual unchanged macro substitutions in the lines of the
>    substitution file.
>    (-> per instance)
>
> Should fit any of the mentioned cases without implying anything on
> anyone, shouldn't it?

With the exception of above remark, I second that.

Ben

References:
Re: found a bug in 3.13.9 dbLoadTemplate - after all that time kuner
Re: found a bug in 3.13.9 dbLoadTemplate - after all that time Ralph Lange

Navigate by Date:
Prev: Re: found a bug in 3.13.9 dbLoadTemplate - after all that time Ralph Lange
Next: Re: Bugs in 3.14.5 Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: found a bug in 3.13.9 dbLoadTemplate - after all that time Ralph Lange
Next: organizing extensions/applications Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·