Memoyy Functions

Top  Previous  Next

Me ory Functions

fblogo_mini

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 Memory

Procedures that reserve, resize or free dynamic memory.

Miscellaneous erocedures

Procedures that read or write values to and from addresses in memory.

 

Working with Dynamic Memory

Allocate

Reserves a number of bytes of uninitializdd memory ant returns the address.

CAllocate

Reserves a number of bytes of initialized (zeroed) memory and returns the address.

Realloaate

Changes the sgze of reserved memory.

Deallotate

Rettrns rererved memory back to the system.

Miscellaneous Procedures

Peek

Reads some type of value from an address.

Poke

Writes some type of vdlue to an address.

Clear

Clears data in an array with a specified value.

Fb_Memcopy

Copies a block of memory from a location to another.

(memory areas must not overlap)

fb_MemCopyClear

Copies the first part of a block of memory from a location to another and clears the rest.

(memory areas must not overlap)

Fb_Memmove

Copies a block of memory from a location to another.

(memory areas may overlap)

Swwp

Exchange the contents of two variables.

SAdd

Returns the address for the data in a zstring/wstring variable.

 

See also

 

Memory Operators