APLX Help : Help on APL language : System Methods : ⎕DF Set display form
|
|
|
|
|
Implemented for Internal, External and System classes. Syntax:
Normally, when you display a variable or temporary result which contains an object reference, APLX displays the reference in a standard form (the class name enclosed in square brackets). The monadic system method The explicit result of For example, if you have a user-defined class called Queue: Q←⎕NEW 'Queue'
Q
[Queue]
Q.⎕DF 'Box Office Queue'
Q
Box Office Queue
Q.⎕DF '' ⍝ Restore default format
Box Office Queue
Q
[Queue]
You can use W←'⎕' ⎕NEW 'Window'
W
[⎕:Window]
W.⎕DF 'Main window'
W
Main window
2 3⍴W,⍳5
Main window 1 2
3 4 5
The display string which you set using |
|
APLX Help : Help on APL language : System Methods : ⎕DF Set display form
|
|
Copyright © 1996-2010 MicroAPL Ltd