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


apl>" <- Without(~) p 258 ---------------------------------------------->


apl>1 2 3 4 5 ~ 2 3 4

1 5

apl>'rhyme' ~ 'myth'

re

apl>'go' 'to' 'it' ~ 'goto' 'it'

 go to 

apl>L#z#4 5 (I0) 6 7 ~ 9 5 3 7

 4    6 


apl>Rz

3

apl>L#w#4 5 (I0) 6 7 ~ 9 5 3 7 (I0)

 4 6 


apl>Rw

2

apl>3 1 4 1 5 5 ~ 3 1 4 1 5 5 ~ 4 2 5 2 6

4 5 5

apl>" <- Evaluated input/output(Q) pp 262-264 --------------------------->


apl>L#4+6X5

34


apl>RL#I3

1 2 3

3

apl>L#a#4+L#5+6

11

15


apl>L#b#2%3

 .666667


apl>4+LX5


L:11

59

apl>L#a#4+LX5


L:I3

9 14 19


apl>1+L


L:2 3X4 5 6

2 3X4 5 6
   ^ 17 - dyadic function arguments are not conformable.

L:2 3 4 X 4 5 6

9 16 25

apl>L_L


L:8


L:3

-5

apl>4+L+5+6


L:$

4+L+5+6
   ^ 69 - unknown argument type during execute.

apl>" <- Character input/output(Q) p 265 ------------------------------->


apl>2 3 4,Q#'a ha '

a ha  2 3 4 a ha  

apl>G f x


[1]       Q#'x '


[2]       Q#'is'


[3]       Q#' '


[4]       Q#x


[5]       G


apl>f 13

x is 13
apl>G g


[1]       Q#2 3RI6


[2]       Q#' is a matrix'


[3]       G


apl>g

1 2 3
4 5 6
 is a matrix
apl>result#Q

what is 3+4?

apl>Rresult

12

apl>result

what is 3+4?

apl>x#Q

'don''t stop'

apl>Rx

13

apl>Lex 'f'

1

apl>Gz#f


[1]       Q#'enter name: '


[2]       z#Q


[3]       G


apl>result#f

enter name: mcmillan

apl>Rresult

20

apl>result

            mcmillan

apl>)off

[ RETURN TO DIRECTORY ]