Re: sub tasks
- Posted by Irv Mullins <irvm at ellijay.com> Aug 15, 2001
- 411 views
On Wednesday 15 August 2001 12:13, George Walters 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? Why would you have to compile it to C? Any program which "includes" your routine can call it. Regards, Irv