AMOSi:Bank Shrink

From Amiga Coding
Jump to: navigation, search

Reduces the size of a previously defined memory bank, returning any unused memory to your Basic program.

Bank Shrink bank_no To new_length

bank_no is an already reserved memory bank. Note: This instruction does not work with object and icon banks

new_length = the new size of the bank.
It must be smaller than the Current length..