func_banks_lockbank.rst 480 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _func_banks_lockbank:
  2. ========
  3. LockBank
  4. ========
  5. LockBank -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. LockBank:Byte Ptr( bank:TBank )
  10. Lock a bank's memory block
  11. While locked, a bank cannot be resized.
  12. After you have finished with a bank's memory block, you must use #UnlockBank
  13. to return it to the bank.
  14. Parameters
  15. ==========
  16. Return Values
  17. =============
  18. A byte pointer to the memory block controlled by the bank.
  19. Examples
  20. ========
  21. See Also
  22. ========