qb45advr.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.
FRE Function Programming Example
  QuickSCREEN      Details     Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
FRE Function Programming Example
 
This example shows some of the values FRE returns before and after
dimensioning an array.
 
' $DYNAMIC
CLS                 ' Clear screen
PRINT "Before dimensioning arrays:  " FRE(""),FRE(0),FRE(-1)
DIM LARGE%(150,150), BIG$(5000)
PRINT "After dimensioning arrays:   " FRE(""),FRE(0),FRE(-1)
 
Sample Output
 
The actual values FRE will return on your own computer may be
different.
 
Before dimensioning arrays:   58420     58420     322120
After dimensioning arrays:    38404     38404     276496