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
<1996>
1997
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
<1996>
1997
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
|