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>&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 message » categorize

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

new topic     » goto parent     » topic index » view message » categorize

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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=3D2>All the best</FONT></DIV>
<DIV>&nbsp;</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:&nbsp;=20
  start.ex<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; include=20
  source\my_prog.ex<BR><BR>Trick [2]<BR><BR>-- Create a bat file called=20
  before.bat<BR>&nbsp; SET OLDEUDIR=3D%EUDIR%<BR>&nbsp; SET =
EUDIR=3Dc:\my files\my=20
  game<BR><BR>&nbsp;-- create a bat file called after.bat<BR>&nbsp; SET=20
  EUDIR=3D%OLDEUDIR%<BR><BR>Mark wrote:<BR><BR>&gt;What I really need is =
a way to=20
  change the default include<BR>&gt;path.<BR><BR>Ralf N.<BR><A=20
  =
Y></HTML>

------=_NextPart_000_001F_01BFEB3C.0559CE80--

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu