Re: routine_id() is not working

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless_ said...
mattlewis said...

You're mixing the 3.1 standard library with 4.0. There is a sleep() in misc.e and in std/os.e. Both file.e and database.e include misc.e, and of course, all symbols are global, Therefore, routine_id cannot resolve a unique sleep() when std/os.e is included.

Umm, i am running the windows install the way i downloaded it that day, i didn't mix versions.

Here are the include statements in the code you posted:

include "C:\\Euphoria-10-Feb-2013\\include\\database.e" 
include "C:\\Euphoria-10-Feb-2013\\include\\file.e"  
  
include "C:\\Euphoria-10-Feb-2013\\include\\std\\os.e"  
 

The 3.1 standard library is in the include directory and the 4.0 library is in include/std. In general, you should use the stuff in include/std for new development. The older stuff is for backwards compatibility with legacy code.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu