The following functions manipulate memory and its allocation/deallocation:
|
Control automatic allocation of Register variables. | |
|
Set the maximum potential stack size. | |
|
Define a block where primitive read-only data is stored. | |
|
Declare and dimension arrays, scalar variables, and
| |
|
Deallocate array memory. | |
|
Declare global (shared) variables between Subs, Functions, Methods, and Properties. | |
|
Allocate a moveable memory block of a specified size. | |
|
Deallocate a moveable memory block. | |
|
Lock a moveable memory block at a specific memory location. | |
|
Retrieve the size of a moveable memory block. | |
|
Unlock a moveable memory block. | |
|
Declare INSTANCE variables which are unique to each object. | |
|
Assign a value to a variable. | |
|
Assign an object reference to an object variable. | |
|
Assign data to a user-defined type variable. | |
|
Assign a value or an object reference to a variant variable. | |
|
Declare local variables in a Sub, Function, Method, or Property. | |
|
Copy a specified number of bytes from one address to another. | |
|
Fill memory with a specified BYTE, WORD, DWORD, or bytes from a string expression. | |
|
Memory at the address specified is exchanged with the data at another address. | |
|
Return the byte at a specific memory location. | |
|
Returns consecutive 1-byte characters starting at a specific memory location. | |
|
Returns consecutive 2-byte wide characters starting at a specific memory location. | |
|
Store a byte at a specific memory location. | |
|
Store a sequence of bytes starting at a specific memory location. | |
|
Store a sequence as 2-byte wide characters starting at a specific memory location. | |
|
Declare dynamic arrays, allocate, reallocate, deallocate memory. | |
|
Define local Register variables within a Sub, Function, Method, or Property. | |
|
Set an array subscript or an entire array to zero or null/empty. | |
|
Return the total or physical length of any PowerBASIC variable. | |
|
Declare static variables inside of a Sub, Function, Method, or Property. | |
|
Return the address of the data held by a variable length string. | |
|
Declare thread-local variables. | |
|
Define a User-Defined Type and one or more member elements. | |
|
Assign the value of a UDT or string expression to a UDT. | |
|
Create a UDT-like structure whose elements overlap in memory. | |
|
Return the 32-bit address of a variable or string handle. |