Re: Euphoria 2 BUG!!
- Posted by David Cuny <dcuny at DSS.CA.GOV> Nov 26, 1997
- 649 views
Hi, Ralf. Robert knows about the bug. The problem apparently has something to do with how Euphoria resolves name conflicts. All included routines must be declared as global. But there is a more serious bug than that. When you bind your file, routine_id() will fail to find ANY routine in an included file, even if it is declared as global. This is because bind shrouds all the routine identifiers, except for the globals declared in the main file. This means that all the routine id's in the included files are shrouded, even if they are declared as global. This is why, for example, you can't successfully bind any programs with my Win32Lib. There are a number of ways around this: 1. Declare the routines as global, and physically attach the file instead of including it; or 2. Declare the routines as global, and (ick) re-declare them as global in your program with something like: global procedure foo_wrapper( integer bar ) foo( bar ) end procedure I think he's promised a fix by the Beta, but I can't remember. -- David Cuny