Basically if you want to emulate Blitz3D's way of thinking and not worry about memory, just place it before your flip.
The scope is always the present and any routines called below it, therefore no worries if you stick it in your main loop.
It's only optional because you might want to create and free one million types and THEN flush the memory when you're ready. Overall, it gives Blitzmax a nice speed boost.
For most games, it's perfectly ok to stick it before the flip.
The scope is always the present and any routines called below it, therefore no worries if you stick it in your main loop.
It's only optional because you might want to create and free one million types and THEN flush the memory when you're ready. Overall, it gives Blitzmax a nice speed boost.
For most games, it's perfectly ok to stick it before the flip.