Lingo Dictionary > D-F > deleteProp |
![]() ![]() ![]() |
deleteProp
Syntax
list
.deleteProp(
item
)
deleteProp
list
,
item
Description
List command; deletes the specified item from the specified list.
![]() |
For linear lists, replace |
![]() |
For property lists, replace |
Example
This statement deletes the color property from the list [#height:100, #width: 200, #color: 34, #ink: 15], which is called spriteAttributes:
spriteAttributes.deleteProp(#color)
The result is the list [#height:100, #width: 200, #ink: 15].
See also
![]() ![]() ![]() |