Page 1 of 1

[Implemented] '#PB_All' for all of the Free....() commands

Posted: Mon Jul 03, 2006 7:09 am
by Lebostein
Hi,

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... ()
and so on.

The FreeMemory() command is already ready for this: '-1' removes all memory blocks.

Posted: Mon Jul 03, 2006 7:14 am
by Joakim Christiansen
That would be nice

Posted: Mon Jul 03, 2006 6:13 pm
by THCM
Very good request!

Posted: Mon Jul 03, 2006 6:48 pm
by SCRJ
Yes, good idea :D