deleteobject
OBJECT

The deleteobject statement deletes the specified object from the current form.


Parameters

This statement has one parameter:

object – specifies the object to be deleted. The object does not have to be selected. A text value specifies the object by name (see Object Names). A numeric value specifies the object by ID number.


Description

This statement deletes the specified object from the current form.

deleteobject "My Star"

If the object does not exist, the statement will throw an error.


Error Messages

Cannot delete object NAME/ID (object does not exist)" – The specified object does not exist in the current form.


See Also


History

VersionStatusNotes
10.2NewNew in this version.