# cock.delete

Deletes control object. Simple nilling the variable that contains this object isn't enough to delete it, you need to call this function as well.

## Function

### Synopsis

    cock.delete ( control )

### Arguments

`table control`
  An object to delete.
`string control`
  ID of an object to delete.

## See also

- cock.new
- cock.find
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit

Category:

- Functions