RE: No Comments on "$2" or $4" etc.?
- Posted by Marc Giao <giao at sympatico.ca> Sep 21, 2003
- 543 views
Al Getz wrote: > > Any comments about the notation presented for the > last element in a sequence and references FROM > that element too? > > s={1,2,3,4,5,6,7} > s=s[1..$3] --s={1,2,3} > > s=s[2$4] --s={1,2,4,5,6,7} --remove elements between 2 and 4 Al, Simple and elegant... I like it. But considering the lack of replies I fear we're in the minority :( Marc I for one like your idea