QBasic 1.1: BLOAD Statement
Explanation
BSAVE, BLOAD Statements
BSAVE copies the contents of an area of memory to a file.
BLOAD loads a file created by BSAVE into memory.
Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Syntax
BSAVE filespec$, offset%, length& |
BLOAD filespec$[,offset%] |
Description / Parameter(s)
filespec$ |
For BSAVE, a file to which an area of memory (a byte-for-byte memory image) is copied. For BLOAD, a memory-image file created by a previous BSAVE. |
offset% |
For BSAVE, the offset of the starting address of the area of memory being saved. For BLOAD, the offset of the address where loading starts. |
length& |
The number of bytes to copy (from 0 through 65,535). |
The starting address of the memory area saved or loaded is determined by the offset and the most recent DEF SEG statement. |