FREE

FREE V

RELEASES THE VARIABLE V

  • Type: Command
  • Parameter: 1
  • Group: Reference

ACTION

The command FREE releases a variable (simple or array). The variable becomes unknown and can be redefined by DIM.

To release an array, do not indicate its size: dim T(100): free T

SYNTAX: FREE V

USE

  • The command FREE is used to release an unused variable in memory.

ERROR

  • If the variable name contains symbols other than letters, character underscore, brackets or numbers.

EXAMPLE

dim r, v%(10), t$

r=1.5:v%(2)=1:t$="abcd"

free r

free v%

free t$

dim r, v%(100), t$

SEE ALSO

ADR()

DIM

DIM_LOCAL