Re: CHAIN PROGRAM
- Posted by Derek Parnell <ddparnell at bigpond.com> Dec 20, 2006
- 539 views
mark wrote: > i post a message previously to ask : how to chain eu program One simple way is to write your programs and then used the command interpreter to chain them. For example, say you have three programs ... One called pro1.ex ... // Program 1 puts(1, "Program 1\n") and another called pro2.ex ... // Program 2 puts(1, "Program 2\n") and another called pro3.ex ... // Program 3 puts(1, "Program 3\n") then a Batch file to chain them ... A file called 'run.bat' ... echo off cmd /C exwc pro1.ex cmd /C exwc pro2.ex cmd /C exwc pro3.ex If you are using an old Windows or DOS system you would use 'command' rather than 'cmd'. -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell