Re: Yay for me, found an interpreter bug!

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

eww, this means that I shouldn't have any libs that are named the same as
you have done.
hence, I shouldn't have a folder named, oh, unkmar.  and in that folder have
a file named.
I don't know, file.e because if I use my file.e then I can't use yours.

(hiss) - How awful of you.  so now you are telling us to have some cryptic
filenames.
I can have unkfile.e but shouldn't have file.e

I can see now that, when I finally manage to get the time to peel myself out
of Euphoria,
that I won't likely look back in quite so much a positive light. :(

        Lucius L. Hilley III - Unkmar

----- Original Message ----- 
From: "Robert Craig" <rds at RapidEuphoria.com>
To: <EUforum at topica.com>
Sent: Monday, November 03, 2003 06:59 PM
Subject: Re: Yay for me, found an interpreter bug!


>
>
> When Euphoria includes a file, it checks to see
> if a file with the same name has already been included.
> It only looks at the file *name*, not the full path.
> Maybe I should document this better.
>
> If you have:
>
>     include graphics.e
>
> and later, perhaps in a different file you have:
>
>     include c:\euphoria\include\graphics.e
>
> it will ignore the second include. Of course the two
> files might be quite different. It doesn't look at
> their contents. You could argue that a file should
> be assumed to be different if it's in a different
> directory. Euphoria doesn't work that way. There are pros
> and cons to either approach. I don't think this
> issue comes up very often.
>
> On DOS/Windows it assumes that the file name is
> the part that comes after the last backslash.
> On Linux/FreeBSD it looks for the forward slash.
>
> There is a small bug on DOS/Windows,
> since on DOS/Windows you can also usually get away
> with using forward slashes in file names.
>
> To be consistent I should probably look for
> both slashes on DOS/Windows.
>
> Regards,
>     Rob Craig
>     Rapid Deployment Software
>     http://www.RapidEuphoria.com
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu