Command: delid

Syntax

delid <ident> {,<ident> ... }

Description

Delete one or more identifiers.

Parameters

Switches

Notes

If the identifier is a user structure definition and is in use, it will not be removed.

If no identifier table is specified in an identifier name, the current default scope atable is searched to locate it.

System identifiers are read-only and as such cannot be removed.

If an array specification is appended to <ident>, than only the indicated array elements will be deleted and the identifier will not be removed. For this to work, the identifier must be an array of variable length, which is adjusted after the deletion.

Examples

Delete two identifiers.

delid p1, string_a, -q

Delete all numerics matching a pattern in a specific identifier table.

delid ~mytable.v*, -ty=numeric

Delete all strings in all identifier tables.

delid ~*.*, -ty=string

Delete an alias identifier (this must be escaped otherwise the identifier it points to will be deleted).

\delid cd

Delete members of an array.

numeric xs[] = <10,20,30,40,50,60>
delid xs[3:5]

See Also

Commands:

alias, renid, scope