- ReSize(
- ------------------
- New keyword
-
-
- Use: Used to change
the size of an allocated block.
-
- Warning! The area
can move when it is resized and so will
- cause problems if you are addressing the memory
directly.
-
- Syntax is: newblock%=ReSize(oldblock%,size%)
-
- Where: newblock%
is the new address of the block, oldblock%
- is the old block address and size%
is the new size for the block.
-
- Example:
- oldblock%=Allocate(100)
- newblock%=ReSize(oldblock%,200)