func_banks_bankcapacity.rst 592 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _func_banks_bankcapacity:
  2. ============
  3. BankCapacity
  4. ============
  5. BankCapacity -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. BankCapacity( bank:TBank )
  10. Get capacity of bank
  11. The capacity of a bank is the size limit before a bank must allocate
  12. more memory due to a resize. Bank capacity may be increased due to a call
  13. to #ResizeBank by either 50% or the requested amount, whichever is greater.
  14. Capacity never decreases.
  15. Parameters
  16. ==========
  17. Return Values
  18. =============
  19. The capacity, in bytes, of the bank's internal memory buffer
  20. Examples
  21. ========
  22. See Also
  23. ========