Click or drag to resize

ClassList Function

X#
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.21
Syntax
 FUNCTION ClassList() AS ARRAY
Request Example View Source

Return Value

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