1. another pathing question [LONG, SORRY]
------=_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--
2. Re: another pathing question [LONG, SORRY]
Trick [1]
-- Put a wrap executable in the root:
file: start.ex
include source\my_prog.ex
Trick [2]
-- Create a bat file called before.bat
SET OLDEUDIR=%EUDIR%
SET EUDIR=c:\my files\my game
-- create a bat file called after.bat
SET EUDIR=%OLDEUDIR%
Mark wrote:
>What I really need is a way to change the default include
>path.
Ralf N.
nieuwen at xs4all.nl
3. Re: another pathing question [LONG, SORRY]
------=_NextPart_000_001F_01BFEB3C.0559CE80
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
To Ralf
Thanks, I would never have thought of that and it should do
nicely (also thanks for commom.e)
All the best
Mark
----- Original Message -----=20
From: Fam. Nieuwenhuijsen=20
To: EUPHORIA at LISTSERV.MUOHIO.EDU=20
Sent: Wednesday, July 12, 2000 2:48
Subject: Re: another pathing question [LONG, SORRY]
Trick [1]
-- Put a wrap executable in the root:
file: start.ex
include source\my_prog.ex
Trick [2]
-- Create a bat file called before.bat
SET OLDEUDIR=3D%EUDIR%
SET EUDIR=3Dc:\my files\my game
-- create a bat file called after.bat
SET EUDIR=3D%OLDEUDIR%
Mark wrote:
>What I really need is a way to change the default include
>path.
Ralf N.
nieuwen at xs4all.nl
------=_NextPart_000_001F_01BFEB3C.0559CE80
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>To Ralf</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Thanks, I would never have thought of that and it =
should=20
do</FONT></DIV>
<DIV><FONT size=3D2>nicely (also thanks for commom.e)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>All the best</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Mark</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:nieuwen at XS4ALL.NL" title=3Dnieuwen at XS4ALL.NL>Fam.=20
Nieuwenhuijsen</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:EUPHORIA at LISTSERV.MUOHIO.EDU"=20
title=3DEUPHORIA at LISTSERV.MUOHIO.EDU>EUPHORIA at LISTSERV.MUOHIO.EDU</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, July 12, 2000 =
2:48</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: another pathing =
question=20
[LONG, SORRY]</DIV>
<DIV><BR></DIV>Trick [1]<BR><BR>-- Put a wrap executable in the=20
root:<BR><BR>file: =20
start.ex<BR><BR> include=20
source\my_prog.ex<BR><BR>Trick [2]<BR><BR>-- Create a bat file called=20
before.bat<BR> SET OLDEUDIR=3D%EUDIR%<BR> SET =
EUDIR=3Dc:\my files\my=20
game<BR><BR> -- create a bat file called after.bat<BR> SET=20
EUDIR=3D%OLDEUDIR%<BR><BR>Mark wrote:<BR><BR>>What I really need is =
a way to=20
change the default include<BR>>path.<BR><BR>Ralf N.<BR><A=20
=
Y></HTML>
------=_NextPart_000_001F_01BFEB3C.0559CE80--