Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Memory Management Commands
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Memory Management Commands
■ The following keywords are used in Visual Basic to return, set, and
manipulate memory:
◄BLOAD► Loads file created by BSAVE into memory
◄BSAVE► Copies contents of memory area to a file
◄CLEAR► Reinitializes variables, closes files, sets stack size
◄DEF SEG► Sets current segment address
◄FRE► Returns memory and stack information
◄PEEK► Returns byte value stored at memory location
◄POKE► Writes byte value to memory location
◄SADD► Returns address (offset only) of string data
◄SETMEM► Sets far heap memory size and returns size of far heap
◄SSEG► Returns address (segment only) of a string variable
◄SSEGADD► Returns address (both segment and offset) of a string
◄STACK Function► Returns maximum stack size that can be allocated
◄STACK Statement► Resets size of the stack
◄VARPTR► Returns offset address
◄VARSEG► Returns segment address
◄VARPTR$► Returns a string representation of a variable's address
See: ◄Keywords by Task►