RE: No Comments on "$2" or $4" etc.?

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu