Skip to content

Methods for Set

View method list in alphabetical order.

Name Type Description Defining Class
Add_Element Procedure Adds an element to the set if the element does not already exist Add_Element adds an element to end of the set if the element does not yet exist. Set
Find_Element Function Returns the index of an element in a set or -1 if not found Find_Element returns the index of an element whose value matches ElemStr. Set
Remove_Element Procedure Removes specified value from the set if present, and compacts remaining values Remove_Element removes specified value from the set if present, and compacts remaining values. Set

Inherited Methods from Array

Name Type Description Defining Class
Delete_Data Procedure Deletes all data from the Array object Delete_Data deletes all data from the Array object. Array
Delete_Item Procedure Removes the specified item from the Array and compacts the remaining elements Delete_Item removes the specified item from the Array and compacts the remaining elements. Array
Sort_Items Procedure Sorts the items in an array in ascending or descending order Sort_items sorts the in an array in ascending or descending order. Array

Inherited Methods from cObject

Name Type Description Defining Class
ChildByIndex Function Can be used to iterate the direct children of an object ChildByIndex is a function that can be used to iterate the direct children of an object. cObject
ClassSuperClass Function Returns the superclass of the passed class This returns the superclass of the passed class. cObject
Create Function Creates an object based on the passed Class Id The Create function is used to dynamically create objects. cObject
CreateNamed Function Creates an object based on the passed Class Id and assigns it a name Name based on a passed name Creates an object based on the passed Class Id and assigns it a name Name based on a passed name. cObject
Destroy Procedure Destroys the object that receives the message and any child objects of that object The Destroy message destroys the object that receives the message. cObject
Exit_Application Procedure Starts the process of closing an application The Exit_Application message is used to close the program. cObject
IsClassOfClass Function Determines whether the target class is part of the searched class's hierarchy cObject
IsObjectOfClass Function Determines whether the passed class is part of the object's class hierarchy This returns True if the passed class is part of the object's class hierarchy. cObject
ObjectClass Function Returns the integer class ID assigned to the class this object is based on Returns the integer class ID assigned to the class this object is based on. cObject
Request_Destroy_Object Procedure Use the Destroy method instead This method is used to destroy an object and all of its children. cObject