func_banks_createbank.rst 472 B

12345678910111213141516171819202122232425262728293031323334353637
  1. .. _func_banks_createbank:
  2. ==========
  3. CreateBank
  4. ==========
  5. CreateBank -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. CreateBank:TBank( size=0 )
  10. Create a bank
  11. #CreateBank creates a Bank allocating a specified amount of memory that
  12. can be used for storage of binary data using the various Poke and
  13. Peek commands.
  14. Parameters
  15. ==========
  16. Return Values
  17. =============
  18. A bank object with an initial size of @size bytes
  19. Examples
  20. ========
  21. See Also
  22. ========