next up previous contents index
Next: Dependancy Up: Objects and structures Previous: How to create and   Contents   Index

Destruction of structures

It is possible to destroy structures with the command destroy. For instance,

- interpcom -> destroy xxx

will destroy the structure xxx (if it exists).

The structures of an array of structures must be destroyed individually.

The function

void init_str(int);

may be used to destroy all the structures of a given type : it deletes all the structures of the type given in argument.