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.