Re: Including Files

new topic     » goto parent     » topic index » view thread      » older message » newer message

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/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu