Metropoli BBS
VIEWER: sam223.txt MODE: TEXT (ASCII)
apl>" <-APL2-------------------- sam223.txt ---------------------------->


apl>)load cap2/help/help

cap2/help/help.apl
^ loaded.
entering e.g.  help 'R'  tells you what the R key does.             
entering e.g.  help 'reshape'  tells you about the reshape function.

apl>L#r#(2 3R1 'a' 2 3 'b' 'c') 'word' (9 10 11)

  1 a 2    word  9 10 11 
  3 b c                  


apl>display r

+$---------------------------+
| +$------+ +$---+ +$------+ |
| U 1 a 2 | |word| |9 10 11| |
| | 3 b c | +----+ +~------+ |
| ++------+                  |
+E---------------------------+

apl>display Y0R`Zr

+$-------------------------+
| +$------+ +$---+ +$----+ |
| U 0   0 | |    | |0 0 0| |
| | 0     | +----+ +~----+ |
| ++------+                |
+E-------------------------+

apl>display Y0R`ZYr

+$------+
U 0   0 |
| 0     |
++------+

apl>n#((2 3)(4 5(6 7)))(8 9 10)11 12


apl>Rn

4

apl>`=n

4

apl>display n

+$---------------------------------------+
| +$--------------------+ +$-----+       |
| | +$--+ +$----------+ | |8 9 10| 11 12 |
| | |2 3| |     +$--+ | | +~-----+       |
| | +~--+ | 4 5 |6 7| | |                |
| |       |     +~--+ | |                |
| |       +E----------+ |                |
| +E--------------------+                |
+E---------------------------------------+

apl>display 5Yn

+$---------------------------------------------------------------+
| +$--------------------+ +$-----+       +$--------------------+ |
| | +$--+ +$----------+ | |8 9 10| 11 12 | +$--+ +$----------+ | |
| | |2 3| |     +$--+ | | +~-----+       | |0 0| |     +$--+ | | |
| | +~--+ | 4 5 |6 7| | |                | +~--+ | 0 0 |0 0| | | |
| |       |     +~--+ | |                |       |     +~--+ | | |
| |       +E----------+ |                |       +E----------+ | |
| +E--------------------+                +E--------------------+ |
+E---------------------------------------------------------------+

apl>L#m#I0

.


apl>Rm

0

apl>display m

+@+
|0|
+~+

apl>" -------------


apl>L#m#2 0R5

.


apl>Rm

2 0

apl>display m

+@+
U0|
|0|
+~+

apl>" -------------


apl>L#m#''

.


apl>Rm

0

apl>display m

+@----+
| +$+ |
| | | |
| +-+ |
+E----+

apl>" -------------


apl>L#m#0 4R''

.


apl>Rm

0 4

apl>display m

+$----------------+
O +$+ +$+ +$+ +$+ |
| | | | | | | | | |
| +-+ +-+ +-+ +-+ |
+E----------------+

apl>)off

[ RETURN TO DIRECTORY ]