qbasic.hlp (Topic list)
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.
Out of data space
QBasic ran out of room in memory for data, variables, and
some other information. Try modifying your data space
requirements as follows:
  ■  Use a smaller file buffer in the OPEN statement's
     LEN clause.
  ■  Use the $DYNAMIC metacommand to create dynamic
     arrays. Dynamic array data can usually be much
     larger than static array data.
  ■  Use fixed-length string arrays instead of
     variable-length string arrays.
  ■  Use the smallest data type that accomplishes
     your task. Use integers whenever possible.
  ■  Use CLEAR to modify the size of the stack.
  ■  Do not use source lines longer than 256 characters.
     Such lines require allocation of additional
     text buffer space.