RE: include paths

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

I've mentioned the same thing a few times before, to no avail.
There is no way to use any form of equation to define an include.

You can have dynamic includes by calling your includes from a secondary 
include file that was generated on the fly.

pseudo-code:
open include2.e for writing
add the include lines, using the custom path
close include2.e

include include2.e


Chris


gwalters at sc.rr.com wrote:
> Is there a way to use a variable as an argument of an include statement. 
> It
> seems a little restricteive to have to hard code an absolute path or 
> accept
> the default search relative path of EU.
> 
> I would like to do something like
> 
> Path = getenv("EUDIR") &"/MyInclude/stuff.e"
> 
> include Path
> 
> george
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu