apl>" <-APL2-------------------- sam206.txt ----------------------------> apl>" <---------------------------display-------------------------------> apl>)read cap2/help/display.txt apl>Lfx file display apl>Gdisplay[L]G G d#s display a;Lio ;r;c;hl;hc;ht;hb;vl;vb;v;w;n;b [1] " display a general array in pictorial form [2] " normal call is monadic. dyadic call used only in [3] " recursion to specify display rank, shape, and depth [4] Lio #0 [5] C(0=Lnc 's')/'s#Ra' [6] r#YR,s" pseudo rank. [7] c#'++++'" ur, ul, ll, and lr corners. [8] hl#'-'" horizontal line. [9] hc#hl,'@$',hl,'~+E'" horizontal borders. [10] ht#hc[(0"tHdisplay#I1YRLcr 'display' apl>display 23 23 apl>display 1 2 +$--+ |1 2| +~--+ apl>display 2 3RI6 +$----+ U1 2 3| |4 5 6| +~----+ apl>display 1 2 'more' (3 'a') (2 2RI4) 'b' +$---------------------------+ | +$---+ +$----+ +$--+ | | 1 2 |more| | 3 a | U1 2| b | | +----+ ++----+ |3 4| - | | +~--+ | +E---------------------------+ apl>display 1 2 'more' (3 'or') (2 2RI4) 'b' +$------------------------------+ | +$---+ +$-------+ +$--+ | | 1 2 |more| | +$-+ | U1 2| b | | +----+ | 3 |or| | |3 4| - | | | +--+ | +~--+ | | +E-------+ | +E------------------------------+ apl>display `Z `Z 1 2 +-----------+ | +-------+ | | | +$--+ | | | | |1 2| | | | | +~--+ | | | +E------+ | +E----------+ apl>)off