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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | SNL (seq1.9.1) exit function |
From: | Len Lawrence <[email protected]> |
To: | tech-talk EPICS <[email protected]> |
Date: | Fri, 30 Aug 1996 15:27:11 +0100 (BST) |
Does any one know how to get the SNL exit function to compile? I have something like this in my init state: when ( health == 0 ) { exit { printf( "Some rubbish.... \n" ); } } state whatever where health is declared as a local long and that gives a syntax error on the "exit" line. The only way round this seems to be a transition to a state which simply loops forever. Without the exit that works fine, but it is not a very tidy solution. ============================================================================== Len Lawrence Tel. : +44 (0)131 668 8255 (direct) Royal Observatory +44 (0)131 668 8100 (switchboard) Blackford Hill Fax. : +44 (0)131 668 1130 Edinburgh EH9 3HJ E-mail : [email protected] (Internet) UK WWW : http://www.roe.ac.uk/lclwww/