Same good answer as Henry's! Linda
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tom Arneson Sent: Thursday, July 26, 2012 7:09 AM To: [email protected] Subject: Re: [Jprogramming] Adding the first element at the end of a list [Q=:P,{.P ABCDEFGHA -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Linda Alvord Sent: Thursday, July 26, 2012 02:46 To: [email protected] Subject: [Jprogramming] Adding the first element at the end of a list Is there a simpler way to close a list by returning to the first element. My two ways are: ]P=:'ABCDEFGH' ABCDEFGH ]Q=:(>:$P)$P ABCDEFGHA (>:#P)$P ABCDEFGHA ]Q=:(>:$P)$P ABCDEFGHA ]POLY=:2{\"1 Q ---T--T--T--T--T--T--T--┐ │AB│BC│CD│DE│EF│FG│GH│HA│ L--+--+--+--+--+--+--+--- ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
