Re: sub tasks
George:
I would use system() or system_exec() (whichever 1 returns error codes)
& pass my input as either stdin or as cmd-line parameters. The
returned values would be either via:
1. error codes,
2. stdout, or
3. thru a temp file interface.
I think I saw something in the archive that allows a EU prog. to use
COM or DDE. That could be another option for passing data back &
forth.
Regards
Brian Keene
--- George Walters <gwalters at sc.rr.com> wrote:
>
> Does EU have any way to launch another program, pass it a value(or
> 2), wait
> for it to finish and receive any return value(or 2)?
>
> I have been using this (subtask) in Theos for common things like an
> Inventory or customer lookup. These would be used by may programs but
> only
> one copy of the look-up program need be written. For example the
> inventory
> search subtask is used by about 35 programs. If I find a bug in it I
> only
> have to change it one place. If I included it in an EU program as a
> function, I would then have to compile(to C) all programs which use
> it. Not
> as convinent as a subtask..... does this make sense? How would you
> approach
> this in EU?
>
> ...george
>
>
>
>
>
|
Not Categorized, Please Help
|
|