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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: #define usage in Sequencer |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | Hyung Jin Kim <hjkim09 at gmail.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Sun, 2 Apr 2023 15:22:47 +0000 |
I believe I understand the problem. This is from the sequencer manual:
So if you name your file .stt then the C pre-processor is not run. But #define is handled by the C pre-processor. So you need to name your file .st not .stt.
I tested this on my system, and I get the same error as you if the file is named .stt, but it works fine if it is named .st.
Mark
|