Well, it works exactly as advertised in the example at the top of this thread. So it can't be that complicated.
Resist the temptation to scatter calls to FlushMem throughout your code. Just call FlushMem once in your main loop.
Release is in the language as a kind of hack to allow old style Blitz code: OrdinaryInt = LoadImage("something").
This style is not using the object system and can't do automatic garbage collection. So there has to be a way to manually release things.
The Release command currently allows you to Release an object. That is a mistake and will be fixed.
Resist the temptation to scatter calls to FlushMem throughout your code. Just call FlushMem once in your main loop.
Release is in the language as a kind of hack to allow old style Blitz code: OrdinaryInt = LoadImage("something").
This style is not using the object system and can't do automatic garbage collection. So there has to be a way to manually release things.
The Release command currently allows you to Release an object. That is a mistake and will be fixed.