I wish a Parameter like #PB_All (=-1) for all Close...() and Free...() commands :
Code: Select all
CloseWindow(#PB_All) ;close all open windows
CloseFile(#PB_All) ;close all open files
CloseLibrary(#PB_All);close all open DLL's
Close...()
FreeSound(#PB_All) ;remove all Sounds
FreeSprite(#PB_All) ;remove all Sprites
Free... ()
The FreeMemory() command is already ready for this: '-1' removes all memory blocks.