External program

Previous topic - Next topic

griller

Is there a simple way to run a second GLBasic program from the main program?

My game "Agony of the Damned" is coming along well, but the game is divided into two modes:
1. Strategic mode
2. Battle mode

I don't want to code both modes into the same program for fear of it getting too messy and out of control. I plan to save data from the Strategic mode, then execute the Battle mode program. The Battle mode program loads the data, then the game is played and result saved for the Strategic mode program to receive.

Any thoughts / ideas would be appreciated before I proceed.

Kitty Hello

Yes, of course. See the SHELLCMD command.