Re: Includes and subdirectories

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

|
|Euphoria looks in the
|directory containing the main .ex (.exw) file, then it
|looks in euphoria\include. You can also provide the full path.
|Some applications would benefit from a more sophisticated
|scheme. I'll look into improving this, perhaps as part of a
|general improvement of the "namespace" situation.
|
|Regards,
|     Rob Craig



Another language that I use, Progress (http://www.progress.com) , uses a
PROPATH environment symbol to list the directories that it will search. It
provides a few built-in functions to support it as well.

SEARCH(<file>)     Will look for the named file in the PROPATH directories
(unless a full pathname was given).
PROPATH()          Returns the PROPATH evnironment string.
PROPATH = "..."    Sets the PROPATH for the remainder of the session.

--------
cheers,
Derek Parnell
dparnell @ vic.bigpond.net.au
Melbourne, Australia

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

Search



Quick Links

User menu

Not signed in.

Misc Menu