Experimental Physics and
| |||||||||||||||||
|
Hi Pierrick,
Yes, you can do this. Don't escape the '#include "filename.h"' with "%%", because in this case you /do/ want the state-notation-language compiler to see the header file. Tim From: "Pierrick Hanlet" <[email protected]> To: "Tech Talk" <[email protected]> Sent: Friday, February 8, 2013 12:04:27 PM Subject: header files in snc code Hi, I'm building a state machine in which I will have ~100 variables which I will monitor and to which I will write. I would like to make my source code more clear by putting this list in a header file. I could not find anything in the documentation other than including a c-style header file with the appropriate "%%". Can I add a header file in which I make all of the assignments and monitors? Thank you, Pierrick --
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford _______________________________________________________________ Pierrick Hanlet IIT/Fermilab +1-630-840-5555 (FNAL) +1-312-567-5745 (IIT) +1-630-697-8758/+44-79-48-860-197 (US/UK mobile)
| ||||||||||||||||
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |