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: vxWorks variable device support
From: [email protected] (William Lupton)
To: [email protected]
Cc: [email protected]
Date: Mon, 15 Apr 96 08:36:15 HST
Dear all,

Andrew Johnson wrote:
> IMHO the "a[n]" array syntax is worth it; "a+n" may be confusing because some 
> people might think you were providing C pointer arithmetic rather than a byte 
> offset.  What about "a-n", "a[n]+m", "a[n][m]" etc?  I'm not suggesting you 
> implement these, you obviously need to draw a sensible line.

I agree. I think just "a[n]". Then you can use it for things like 2-element
arrays that hold positions, but not for referencing fields in structures. The
latter can be handled via new globals which contain the address of the field
in question, and the "*" syntax.

William

PS, Nick Rees was unkind enough as to enquire if this will be implemented
    before or after the macro library. The answer: before!


Navigate by Date:
Prev: New EPICS Pages Intalled Jackie Wallis
Next: Request for software from platform developers Bakul Banerjee
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: vxWorks variable device support Andrew Johnson
Next: New EPICS Pages Intalled Jackie Wallis
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 ·