2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 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: | VAL keyword in calcout records |
From: | Ralph Lange <[email protected]> |
To: | EPICS Core Talk <[email protected]> |
Date: | Mon, 12 Apr 2010 18:12:45 -0400 |
Hi,I just learned that the recently introduced VAL keyword does not (quoting the Record Reference Manual) return "the current contents of the VAL field" but rather "the current contents of this expression's result".
Which means, that inside a calcout record's OCAL expression, VAL refers to OVAL, not VAL. Which means you can not use VAL inside OCAL to refer to the result of the CALC expression, but have to repeat the CALC expression inside OCAL to get the same value.
Which (in my case) makes the OCAL expression more than 40 characters long, which doesn't work.
Should we change the behaviour or the documentation? Ralph