Rob Idea for dynamic include
- Posted by Bernie Ryan <LockCityData at CS.COM> Feb 27, 2000
- 493 views
Rob: I have an idea of how to implement a simple conditional include in your Euphoria Interpreter. Add a new keyword called IGNORE ( or what ever you want to call it ) Then I do something like the following: if IWANTTOINCLUDETHIS then IGNORE end if -- include thisfile.e Then when your interperter sees the keyword "IGNORE" and It skips over the first -- comment operator that it sees and continues on parsing the program in the normal way. This would only require that you added a additional keyword and a a little code to bypass the -- comment operator Bernie