* *
*
* * News
 • Daily news
 • Archived news

Columns
 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

* *
*
*
*
*  
.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
* * ** * * * *