Re: Including Files
- Posted by cklester <cklester at yahoo.com> Dec 02, 2006
- 708 views
Matt Lewis wrote: > The issue is that you're asking to be able to execute code during parsing, > which is not how euphoria works (2.5 and later, anyway). I agree, however, > that your simple example is exactly the same. So I'd ask you why you would > want to do it that way? Because I want users who don't know the internals to use an API to write plug-ins for my app. These plug-ins will be written in Euphoria and most likely will not be compiled into a dll, ever. At least, not by me! :) > You might do better with a preprocessor for the conditional include situation. Maybe, but I'm leery of leaving a pure Euphoria environment. That is, I tend to like to avoid kludges, to stay within the boundaries of the standards, and a preprocessor seems kludgey. -=ck "Programming in a state of Euphoria." http://www.cklester.com/euphoria/