Explanation
FRE Function
Returns the amount (in bytes) of available or unused memory.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
FRE(numeric-expression) |
FRE(stringexpression$) |
numeric-expression | A value that specifies the type of memory: | ||||||||
| |||||||||
stringexpression$ | Any string expression. FRE compacts the free string space into a single block, then returns the amount of available string space. |
PRINT "String Space", FRE("")
PRINT "Unused Stack Space", FRE(-2)
PRINT "Array Space", FRE(-1)