Click or drag to resize

ClassList Function

Return an array of symbols corresponding to the classes available to your application.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.10
Syntax
 FUNCTION ClassList() AS ARRAY
View Source

Return Value

Type: Array
An array of all class names as a symbol.
Remarks
Examples
This example illustrates ClassList():
X#
CLASS MyClass
...
FUNCTION PrintClass()
        LOCAL aClass AS ARRAY
        aClass := ClassList()
        // Predefined system classes are listed first.
        FOR i := 1 UPTO ALen(aClass)
                QOut(aClass[i])
        NEXT
See Also