Hello Roger;
linrep=: 3 : '5!:5 <''y'''
linrep ,:99+i.5
99+i.1 5
linrep ,:99+i.6
99+i.1 6
linrep ,:99+i.4
99+i.1 7
linrep ,:99+i.4
99+i.1 4
linrep ,:99+i.3
99+i.1 3
linrep ,:99+i.1
99+i.1 2
linrep ,:99+i.1
,.99
Tables don't seem to wait for 7 items.. hmm.
Roger Hui wrote:
linrep=: 3 : '5!:5 <''y'''
linrep 99+i.5
99 100 101 102 103
linrep 99+i.6
99 100 101 102 103 104
linrep 99+i.7
99 100 101 102 103 104 105
linrep 99+i.8
99+i.8
http://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
------------------------------------------------------------------------
|\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ | | The only real problem with APL is that
BSc(Math) UNBF'83 | it is "still ahead of its time."
Sapere Aude | - Morten Kromberg
Natural Born APL'er |
-----------------------------------------------------(INTP)----{ gnat }-
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm