Skip to content

ResizeBank

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions

Blitz3DBlitzPlusBlitzBasic

ResizeBank

ResizeBank:Void bank:Int32, size:Int32
Parameter Mode Type Default Description
bank In Int32 required The bank to resize.
size In Int32 required The new size in bytes.

Description

Changes the size of a bank. The start of the bank is kept, and when it grows the new part is filled with zeros.

Examples

bank = CreateBank(4)
PokeInt bank, 0, 99
ResizeBank bank, 8
Print BankSize(bank)
Print PeekInt(bank, 0)
Print PeekInt(bank, 4)
FreeBank bank
8
99
0

Related Commands

BankSize, CopyBank, CreateBank, FreeBank

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally