WARNING

This text was automatically converted from troff me macros to HTML. Information may have been lost, added, or changed in the process. Lars Aronsson and Lysator do not guarantee the correctness of this HTML document.

NAME

delete *- delete instances from a class

SYNOPSIS

delete instance_variable [ from from_list ] [ where qual ]

DESCRIPTION

Delete removes instances which satisfy the qualification, qual , from the class specified by instance_variable . Instance_variable is either a class name or a variable assigned by from_list . If the qualification is absent, the effect is to delete all instances in the class. The result is a valid, but empty class.

EXAMPLE

/* Remove all employees who make over $30,000 */

delete emp where emp.sal > 30000

/* Clear the hobbies class */

delete hobbies

SEE ALSO

destroy(commands).