Forcing Blitz to stop!

Blitz3D Forums/Blitz3D Programming/Forcing Blitz to stop!

Hey guys,

How do I stop one programme whilst launching another using b3d?

I have a situation where I want to use a menu system to load different games. I need to be able to load different games from a list from the menu - play them and then go back to the menu.

I want to clear memory each time so I was hoping to simply end the current programme and execfile the next programme.

After a few hops between programmes I find loads and loads of the previous versions still loaded in memory! Still running in the background.

How do I stop one programme by launching another please?

IPete2.

Get the task id and kill it :D

Cheers.

_33

Please explain how I do that? And when I should do that?

Thansk

IPete2.

http://www.blitzbasic.com/Community/posts.php?topic=45985#513266

You need to explain more the flow of your menu, I can't help you more than this ATM. Killing running programs (tasks) shouldn't be too puzzling. Implementing a function to kill tasks also. To get the task ID thoe, will require a little tinkering.

Thanks!

Really big thanks!

IPete2.