Currently implemented for Internal classes only.
Syntax:
nested_matrix ← objref.⎕MEMBERS
nested_matrix ← classref.⎕MEMBERS
nested_matrix ← ⎕MEMBERS (Within user-defined method, same as ⎕THIS.⎕MEMBERS )
The result of ⎕MEMBERS is a 6-column matrix, describing the members (properties, methods, and constructors) for the class of an object, or for the class itself if it is used on a class reference. The six columns are as follows (in index origin 1):
[;1] |
Member name (character vector) |
[;2] |
Class name in which it is defined (character vector) |
[;3] |
Member type (using ⎕NC codes: 2=var, 3=function, 4=operator, 10=constructor) |
[;4] |
Scope: 0=public, 1=private |
[;5] |
Access code: 2 if undefined property, 1 if read-only property, else 0 |
[;6] |
Summary of Method (first line of comment) if available, else empty (character vector) |
|