Re: Detecting the Eu version
- Posted by irv mullins <irvm at ellijay.com> Dec 13, 2004
- 568 views
Pete Lomax wrote: > > On Mon, 13 Dec 2004 11:17:48 +0100, Juergen Luethje <j.lue at gmx.de> > wrote: > > >But using Eu 2.5, the program will crash. ATM I don't see any way how > >a crash could be prevented in this case. > You're quite right. No attempt to set up a friendly crash_message will > help, the end user will see the compile error instead. People have been asking for a simple version() function as far back as Jan, 1999. If Rob weren`t so pig-headedly stubborn, he would have added the necessary code (maybe 12 bytes?) at that time, and the issue of "backward compatibility" would have resolved itself by now. Hardly anyone is uses the 1.x versions of Euphoria any more, do they? And those who do won't be able to use current code anyway, because it will almost certainly need things like routine_id, etc. > If we had "with 2.5" checked at compile time it would certainly help. > > Note that 2.4 and before will ignore "with 2.5" (part of the old > stamping feature which used an 8 or 9-digit integer), so the other > methods would still be required. Somehow, I have the feeling that you could change those numbers to 3.4 and 3.5, or even 5.4 and 5.5, and post that message again 5 years from now, and what you say would still be true. Too bad Rob just can't admit that he made a minor mistake back around 1.0, and just FIX IT NOW, so this discussion won't still be taking place in 2009. Irv