del statement

The del statement provides an alternate to the delete() function for deleting a location from a dynamic array.

Syntax

del dyn.array< ac.exp{,vc.exp...{,sc.exp}}>

Parameter(s)

dyn.array Dynamic array from which the specified attribute, value, or subvalue will be deleted.
ac.exp Attribute to delete.
vc.exp Value to delete.
sc.exp Subvalue to delete.

Example(s)

This example deletes the value red from the dynamic array colors. The reference to attribute 1 is required. The absence of attribute marks in colors requires that it be treated as a single attribute.

equ vm to char(253)
colors = "blue":vm:"green":vm:"red":vm:"yellow"
del colors<1,3>