another pathing question [LONG, SORRY]
- Posted by Mark Brown <mabrown at SENET.COM.AU> Jul 11, 2000
- 427 views
------=_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> </DIV> <DIV><FONT size=3D2>I have another pathing question, this time relating = to=20 includes.</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>I have the following directory = structure.</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT size=3D2><mrft_eu_380> = -------------------------</FONT></DIV> <DIV><FONT=20 ; =20 =20 |</FONT><FONT=20 ; =20 </DIV> <DIV> <DIV><FONT size=3D2> </FONT></FONT><FONT=20 gt; <includes>=20 ------------- mrft_api.ew</FONT></DIV> <DIV><FONT=20 MorfitEU.ew</FONT></DIV> <DIV><FONT=20 p; =20 my_prog.exw</FONT> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT size=3D2>The mrft_api.ew file includes = MorfitEU.ew</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>my_prog.exw includes mrft_api.ew</FONT></DIV> <DIV> </DIV> <DIV> </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> </DIV> <DIV><FONT size=3D2>include ..\includes\mrft_api.ew</FONT></DIV> <DIV> </DIV> <DIV> </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 the <source> directory (no = include) and=20 then in</FONT></DIV> <DIV><FONT size=3D2>euphoria\include where it finds an old = version.</FONT></DIV> <DIV> </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> </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> </DIV> <DIV><FONT size=3D2>Any ideas?</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Many thanks</FONT></DIV> <DIV> </DIV> ------=_NextPart_000_000A_01BFEAD7.A48DFC20--