DeleteAll
From Director Online Wiki
deleteAll()
| |
---|---|
Type: | method |
Version: | ? |
Language: | Lingo |
Dependencies: | none |
Links/Related | |
deleteAt(), deleteProp(), deleteOne() |
List method: Deletes all entries in a linear list or a property list
Syntax
vList = [#this, "list", #contains, 4, #items] put vList -- [#this, "list", #contains, 4, #items] vList.deleteAll() put vList -- []
vList = [#this: "list", #contains: 3, #items: ""] put vList -- [#this: "list", #contains: 3, #items: ""] vList.deleteAll() put vList -- [:]
See also
deleteAt(), deleteProp(), deleteOne()