RE: Euphoria as an extension language

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

Hi All,

Could you not implement the variable passing as message calls? e.g.

- eu script invoked by c++ / delphi program
- eu script sends user-defined msg to program

Derek Parnell wrote:
> This would work well in Windows, and would get rid of all that silly 
> console screens popping up and 
> down.
> 
> 18/11/2002 4:54:57 PM, dm31 at uow.edu.au wrote:
> 
> >
> >|1) Main program writes out the values of the variables required to a
> >disk file.
> >|2) Either it creates the script code at runtime or uses a pre-built
> >script.
> >|3) Runs a new instance of ex.exe using the script program. You could
> >include the names of the input-
> >|output files on the command line too.
> >|4) Starts waiting for the results to be signalled.
> >|5) The script reads in the stored values from the disk file.
> >|6) The script does it stuff.
> >|7) The script writes out the values to another disk file.
> >|8) The main program (that has been patiently waiting for the new disk
> >file to be written), loads 
> >|back in the updated variable values.
> >|9) And the show goes on, etc...
> >
> >You could even have the main program allocate memory for the vars,
> >have these addresses in the disk file, that way the script program
> >could use those instead of writing another file with the results.
> >
> >
> >
> ---------
> Cheers,
> Derek Parnell 
> ICQ# 7647806
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu