include paths

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

Hi all, esp. Rob.

I think the interpreter should include in its search path for include files
the current directory (or folder) of the file currently being read, plus it
should use some sort of path statement to find include files in a wide
variety of directories.

I just switched to win32lib version 0.55, which includes files
tk_something.e, one or more of which in turn include w32keys.e. Now, all of
these files are together in their own directory, where I wish to keep them.
But no, either I have to change the source to include explicit paths, or
move them into either the \euphoria\include directory or my main project
directory. This is an irritant.

In contrast, most C compilers (and I suspect, other languages as well) allow
you to list the all folders where include files might be found, and search
all the specified folders. Limiting includes to
1. the \euphoria\include directory;
2. the user's project directory; and
3. paths given explicitly in the source
seems unreasonably hampering.

A large library like win32lib should be decomposable into as many files as
the authors think appropriate, and all of those files should be able to
reside together in their own folder (any folder chosen by the user),
separate from the user's project and separate from the standard include
files.

I will implement whatever awkward workaround I have to in order to get
things to work, but the point is that awkward workarounds should not be
necessary.

George Henry
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu