Memory Functions
Documentation
Procedures that work with static and dynamic memory.Description
These procedures provide access to the free store, or heap. Memory from the free store can be reserved and freed, and procedures are provided to read and write directly to that memory.
Working with Dynamic MemoryProcedures that reserve, resize or free dynamic memory.
Miscellaneous ProceduresProcedures that read or write values to and from addresses in memory.
| Working with Dynamic Memory Allocate Reserves a number of bytes of uninitialized memory and returns the address. CAllocateReserves a number of bytes of initialized (zeroed) memory and returns the address. ReallocateChanges the size of reserved memory. DeallocateReturns reserved memory back to the system. | Miscellaneous Procedures Peek Reads some type of value from an address. PokeWrites some type of value to an address. ClearClears data in an array with a specified value. Fb_MemcopyCopies a block of memory from a location to another. fb_MemCopyClear(memory areas must not overlap) Copies the first part of a block of memory from a location to another and clears the rest. Fb_Memmove(memory areas must not overlap) Copies a block of memory from a location to another. Swap(memory areas may overlap) Exchange the contents of two variables. SAddReturns the address for the data in a zstring/wstring variable. |
See also