ResizeBank

Blitz3D Forums/Blitz3D Beginners Area/ResizeBank

ILonion(Posted 2012) [#1]
Hello!
Please, answer me the following question:

Description of the command [ResizeBank] written:
"...Resizes a previously created memory bank. Existing bank data is unmodified, but may be moved in memory.."
http://www.blitzbasic.co.nz/b3ddocs/command.php?name=ResizeBank&ref=comments

What does it mean <may be moved in memory>
Always in range 0...n or may be other case (if resized bank > original bank) ?
:)


Yasha(Posted 2012) [#2]
As long as you aren't using DLL tricks (and I hope you aren't if you need to ask this!), it doesn't mean anything you need to worry about. If for some reason you had a handle to the actual memory of the bank, this would be important, but you can't get that with normal B3D code.

The bank may be put somewhere else, but its contents will stay the same so all of the data accesses on it will give the same results.


ILonion(Posted 2012) [#3]
Yasha, thank you! It's great help for me, for the second time.
And also thank you for detailed description!