Command: unset

Syntax

unset <ident> {,<ident> ... }

Description

Unset the values of one or more identifiers, thus reverting to their class or default values.

Parameters

Switches

None

Notes

The identifiers to be unset are usually structure elements whose values have been previously been set to override their class or default values.

If an identifier has no appropriate class or default value, its value is left unchanged.

Examples

Unset the visibility of a structure object. Once unset, its visibility reverts to the default visibility for the structure’s class.

unset my_struct.visibility

Unset the value of an element of a user structure. Once unset, the value reverts to the default value for the structure’s class.

unset person.status

See Also

Commands:

compound, gstructure, structure