txt_remove(TEXT*)
Removes a TEXT object.
Parameters:
TEXT* - object to be removed.
Speed:
Slow
Remarks:
- Texts are automatically removed on sys_exit.
-
Removing a text does not remove its strings. If this is desired, use str_remove with a loop over the strings of the text.
Example:
TEXT* mytext;
...
mytext = txt_create(10,0);
...
txt_remove(mytext);
See also:
TEXT, txt_create