EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: macro substitution
From: [email protected] (William Lupton)
To: [email protected], [email protected]
Date: Mon, 5 Feb 96 13:31:25 HST
> There is already a library started in base/src/db/dbVarSub.c (or something 
> like that.)  It is what Jim uses in GDCT.
> 
> I am not sure how wonderful it's implementation is.  But I stole it for use in
> the new version of BURT that I am working on.  [I would like to see it moved 
> into libCom.]

I also stole it for another purpose (and made it libDbVarSub.a but libCom is
fine by me).

It works fine but does seem to have problems with empty values and missing
equals signs. It also doesn't permit you to define or re-define macros (all
the definitions are in the init call) which is, I feel, important for some
applications (e.g. you want to include the same file several times but with
different macro translations).

William


Navigate by Date:
Prev: Re: macro substitution John R. Winans
Next: EPICS PLC Support Richard J. Sachtschale
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: macro substitution John R. Winans
Next: Re: macro substitution William Lupton
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  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 ·