another pathing question [LONG, SORRY]

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

------=_NextPart_000_000A_01BFEAD7.A48DFC20
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi again

I have another pathing question, this time relating to includes.

I have the following directory structure.


<mrft_eu_380> -------------------------
                            |                  |                         =
  =20
                      <source>   <includes> ------------- mrft_api.ew
                            |                                         =
MorfitEU.ew
                   my_prog.exw=20


The mrft_api.ew file includes MorfitEU.ew
=20
my_prog.exw includes mrft_api.ew


I seem to be able to include mrft_api.ew from my_prog.exw
using something like :-

include ..\includes\mrft_api.ew


However, I think when mrft_api.ew includes MorfitEU.ew, it
looks in the <source> directory (no include) and then in
euphoria\include where it finds an old version.

For various reasons, I don't want to have to continually
replace the file in euphoria\include and I don't want to place
my includes and source in the same folder (many different
source examples use the same include which makes a
mess if they are all in one big folder)

What I really need is a way to change the default include
path.

Any ideas?

Many thanks

Mark =20

------=_NextPart_000_000A_01BFEAD7.A48DFC20
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi again</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I have another pathing question, this time relating =
to=20
includes.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I have the following directory =
structure.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&lt;mrft_eu_380&gt; =
-------------------------</FONT></DIV>
<DIV><FONT=20
;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;=20
&nbsp; |</FONT><FONT=20
;&nbsp;&nbsp;&nbsp;&nbsp;=20
</DIV>
<DIV>
<DIV><FONT size=3D2>&nbsp;</FONT></FONT><FONT=20
gt;&nbsp;&nbsp;&nbsp;&lt;includes&gt;=20
------------- mrft_api.ew</FONT></DIV>
<DIV><FONT=20
MorfitEU.ew</FONT></DIV>
<DIV><FONT=20
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
my_prog.exw</FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>The mrft_api.ew file includes =
MorfitEU.ew</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>my_prog.exw includes mrft_api.ew</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I seem to be able to include mrft_api.ew from=20
my_prog.exw</FONT></DIV>
<DIV><FONT size=3D2>using something like :-</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>include ..\includes\mrft_api.ew</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>However, I think when mrft_api.ew includes =
MorfitEU.ew,=20
it</FONT></DIV>
<DIV><FONT size=3D2>looks in&nbsp;the &lt;source&gt; directory (no =
include) and=20
then in</FONT></DIV>
<DIV><FONT size=3D2>euphoria\include where it finds an old =
version.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>For various reasons, I don't want to have to=20
continually</FONT></DIV>
<DIV><FONT size=3D2>replace the file in euphoria\include and I don't =
want to=20
place</FONT></DIV>
<DIV><FONT size=3D2>my includes and source in the same folder (many=20
different</FONT></DIV>
<DIV><FONT size=3D2>source examples use the same include which makes=20
a</FONT></DIV>
<DIV><FONT size=3D2>mess if they are all in one big folder)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>What I really need is a way to change the default=20
include</FONT></DIV>
<DIV><FONT size=3D2>path.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Any ideas?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Many thanks</FONT></DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_000A_01BFEAD7.A48DFC20--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu