Re: Help with plugin concept

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

Hi Juergen,

----------
> From: Juergen Luethje <j.lue at gmx.de>
> Subject: Re: Help with plugin concept

[snipped] 

> <snip>
> 
> I believe using the next version of the interpreter, programs still
> can take advantage of a dynamic include technique, when the code is
> just put into 2 files rather than 1. Then again there are 2 separate
> steps:
> 
> ------------------------[ part1.exw ]------------------------
>      P_S = open ("plugins.ew", "wb")
>      puts(P_S, PluginS)
>      close(P_S)
>      system("exw.exe part2.exw", 2)
> 
> ------------------------[ part2.exw ]------------------------
>      include plugins.ew
>      -- Here comes the main program ...
> -------------------------------------------------------------
> 
> This should work with the interpreter 2.5, shouldn't it?

Why not? Definitely should with system_exec().

Another way is just .bat file 
(without system_exec() in the first part)
(untested project for 2.5 and better versions :)

@ rem -- code of ide.bat
@ rem -- part1.exw prepares all plugins as common include file
@ exw.exe part1.exw
@ rem -- part2.exw executes IDE with plugins
@ exw.exe part2.exw
@ rem -- end of code

This is EU, isn't it ?

Rob, your move  smile

Regards,
Igor Kachan
kinz at peterlink.ru

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

Search



Quick Links

User menu

Not signed in.

Misc Menu