Deletes one or more namedstructure definitions from memory.
Rename
Unnall
If the structure definition is not currently referenced by any variables, other structure definitions, or common blocks, then the structure is deleted. If any references to structure exist, then, by default, you receive an error message and the structure is not deleted. The Rename keyword overrides this default, and renames the existing structure so that the structure name can be reused. When the Rename keyword is used, the original variables remain valid (continue to reference the renamed structure definition); however, no memory is freed.
Use the STRUCTREF function to determine if a structure is currently referenced by any variables, common blocks, or other structure definitions.
TIP: You cannot delete structure definitions that are system structure definitions, such as !Axis and !Plot, or any structures that begin with an exclamation mark (!). Therefore, if you want to create a new structure that cannot be deleted, begin its name with an exclamation mark (!).
x = {struct1, a:float(0)}
DELVAR, x
DELSTRUCT, {struct1} x = {struct1, a:double(0)}
For more information on structures, see the PV-WAVE Programmer's Guide.