Re: Modifying the Euphoria interpreter

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

Pete Lomax wrote:
> 
> CChris wrote:
> 
> > I was getting an error for open_dll() not being supported under DOS.
> 
> Ah, of course: that error message *IS* caused by a machine_func(50,...)
> statement
> being run, *NOT* from an open_dll() statement being defined.
> 
> 
> I think I can imagine the thought process you had, what you have to think of
> is what message should Eu best display on a bad machine_func(50,...) call?
> 
> It is not going to be "machine_func opcode 50 not supported", is it?
> 
> 
> I trust that has got through now, but if not please voice any remaining items
> of confusion, as I think that it is vital anyone making such mods understands
> *exactly* what is going on.
> 
> Regards,
> Pete

Ok, I found some time to check it out.
Protecting the open_dll() statement by an "if platform()=" test enables a
program containing it to run both under exw and ex, both under Windows and
in a DOS box. So I assume this protection will be enough, although I'll
perform a test with the newly built interpreters just to be sure.

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu