Re: Re[2]: Berkeley DB with Euphoria

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

On Wed, 2 Oct 2002 15:27:54 +0700, aku saya <akusaya at gmx.net> wrote: 
 
>Even more, you can do this: 
> 
>if tesinc.e is in a dir called c:/path 
> 
>include tesinc.e as a 
>include ../path/tesinc.e as b 
>include c:/path/tesinc.e as c 
>-- eu will see them as different files. 
> 
>a:x  1 
>b:x = 2 
>c:x = 3 
>? a:x 
>? b:x 
>? c:x 
> 
>will print 
>1 
>2 
>3 
 
That is technically a bug & you should not rely on it. Rob may choose 
or accidentally happen to fix that if it causes a problem elsewhere. 
Either distributing or having an install script make copies of 
database.e as databseA.e etc is a better (short-term) solution. 
 
It is also a very bad thing regards installing the program to a 
different drive/directory. 
 
A global routine within database.e to swap in/out various internals, 
as it were "behind the back of" the main database.e code would be a 
sensible interim measure, since it is then clearly up to the 
programmer to manage any problems with excessive memory allocation etc 
OK, I admit I have no idea what I just said involves but it sounded 
good when I started... 
 
Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu