ship.clear() does not delete anything in ship myshipname?.clear() is not what I'm looking for. I want to know if there is a function that will delete all data that is contained within a declared instance of a data structure. Sorry I was not specific with my first question.