Re: Detecting the Eu version
- Posted by Ferlin Scarborough <ferlin1 at bellsouth.net> Dec 15, 2004
- 561 views
Juergen Luethje wrote: > > Hi all, > > recently Derek and Pete (L) posted here some useful code, that allows > a program to detect the current Eu version at runtime. I think it is > especially helpful to use such a functionality in libraries, that > require at least a particular Eu version. > I have been reading over this thread with interest, and it just occured to me that maybe we could do something like this (just off the top of my head so the code may not be exactly right.
sequence cmd integer filenum cmd=command_line() filenum=open(cmd[1],"rb")
Then we could look for something like "Euphoria Interpreter 2.4", the message that prints out when you type ex or exw without a file name. Oh, wait a minute I don't think this would work either, seems to me I remember that the Euphoria Interpreter programs are compressed. Hmmm....Well, maybe this will get someone started in a direction that might work, if they know how to do this with compressed programs. Just a thought. Later. Ferlin Scarborough Learn To Program Games in Free Courses At http://www.gameuniv.net My Euphoria Home Page http://mywebpage.netscape.com/shadetreesoft