APLX Help : Help on APL language : System Methods : ⎕NL Names of members
|
|||||||||||||
|
|
||||||||||||
|
Syntax:
The right argument is a scalar or vector which indicates which types of class member should be included in the result:
For example: Point {
X
Y
∇R←MAG
R←((X*2)+(Y*2))*0.5
∇
}
Point.⎕NL 2 ⍝ Applied to a class reference (properties)
X
Y
PT←⎕NEW 'Point'
PT.⎕NL 2 3 ⍝ Applied to an object ref (properties and methods)
MAG
X
Y
PT←'java' ⎕NEW 'java.awt.Point'
PT.⎕NL 2 ⍝ Properties
x
y
PT.⎕NL 3 ⍝ Methods
clone
distance
distanceSq
equals
getClass
getLocation
getX
getY
hashCode
move
notify
notifyAll
setLocation
toString
translate
wait
T←'⎕' ⎕NEW 'Timer'
T.⎕NL 2 ⍝ Properties
children
class
data
enabled
events
interval
methods
name
opened
properties
self
tie
T.⎕NL 3 ⍝ Methods
Close
Create
Delete
New
Open
Send
Set
Trigger
T.⎕NL 8 ⍝ Events
onClose
onDestroy
onOpen
onSend
onTimer
For the R interface, |
|||||||||||||
APLX Help : Help on APL language : System Methods : ⎕NL Names of members
|
|||||||||||||
Copyright © 1996-2010 MicroAPL Ltd