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: | RE: Sequencer embedded C code question |
From: | "Laznovsky, Michael" <[email protected]> |
To: | "Jiro Fujita" <[email protected]>, <[email protected]> |
Date: | Thu, 29 Jun 2006 12:56:42 -0700 |
Hi- first thing I see is that the escaped code is not inside any function block... it needs to be inside a when(); right now it's just floating out there with the dclarations (that shouldn't compile under a normal C compiler either). Mike -----Original Message----- > %{ > rob=&roba > v=rob[0]; /*Get first char from string*/ > wa1=strpbrk(rob, "+-"); /*Break string at +-,rest is wa1*/ > z=(float)wa1; /*convert string to float z*/ > }% > > ss ss1 { > state state1 { > when ( v==1) { ...