kryton9
15-11-2007, 05:52
Let's say I made 3 totally self contained independent thinBasic programs. That is I can load any of the three and run it without it depending on the other 2 programs.
Now can I make a 4th program, like a master control program, that I can run any of the 3 applications when I want and in any order and when I quit that program it will automatically go back to the master program that launched it?
Master Program
\
\
Launches Program 2
...
Program 2 terminates
/
/
Control goes back to Master Program.
Master Program
\
\
Launches Program 1
...
Program 1 terminates
/
/
Control goes back to Master Program.
Master Program
\
\
Launches Program 3
...
Program 3 terminates
/
/
Control goes back to Master Program.
Don't forget Programs 1-3 can run on their own and in that case would not go back to the Master Program.
It only goes back to the Master Program when it is executed by the Master Program.
Thanks for any help.
Now can I make a 4th program, like a master control program, that I can run any of the 3 applications when I want and in any order and when I quit that program it will automatically go back to the master program that launched it?
Master Program
\
\
Launches Program 2
...
Program 2 terminates
/
/
Control goes back to Master Program.
Master Program
\
\
Launches Program 1
...
Program 1 terminates
/
/
Control goes back to Master Program.
Master Program
\
\
Launches Program 3
...
Program 3 terminates
/
/
Control goes back to Master Program.
Don't forget Programs 1-3 can run on their own and in that case would not go back to the Master Program.
It only goes back to the Master Program when it is executed by the Master Program.
Thanks for any help.