Arbortext IsoDraw > Macro Language Reference > Introduction > Language Basics > Variables > Dispose
  
Dispose
DISPOSE deletes the value and content of a previously defined variable, removes it from the list of defined variables, and frees the memory allocated to it. After the DISPOSE command executes, the variable can no longer be used. To use the variable again, redefine it first using the DEFINE command.
Disposevarname
varname
The name of the previously defined variable to remove.
Example
# ...
DEFINE v AS string
v = el.info.attributes["XFile"].value
s = getfilename(v)
# Free allocated memory:
DISPOSE v
# ...
# Reuse variable name:
DEFINE v AS integer
# ...