Re: Detecting the Eu version

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu