"deletePos"
Deletes a specific item from a list.
Synopsis
setValue(string shape, "deletePos", int n);
shape.deletePos(int n);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
n | Number of the item to be removed, starting with 1 |
Description
The item indexed with "n" will be removed from the list.
Example
main()
{
shape list1=getShape("selectionlist1");
list1.deletePos(3); // Deletes item number 3
}
Assignment
Selection list