Code archives/Miscellaneous/ClearBank

This code has been declared by its author to be Public Domain code.

Download source code

ClearBank by cbmeeks2003
Yeah, really simple but what the hay!

Usage: ClearBank(bankname)

-cbmeeks of SignalDEV
;--------------------------------------------------------
;	ClearBank(bank)
;
;		bank = bank handle
;
;		by cbmeeks of SignalDEV
;--------------------------------------------------------
Function ClearBank(bank)
	;doesn't get any easier than this people  :-)
	Local c
	For c=0 To BankSize(bank)-1
		PokeByte(bank,c,0)
	Next
End Function

Comments

None.

Code Archives Forum