Re: New slice operator
- Posted by CChris <christian.cuvier at agri?ultur?.gouv.fr> Apr 27, 2008
- 702 views
c.k.lester wrote: > > Fernando Bauer wrote: > > A possible definition of the new operator '~' is: > > s[a~b] =: s[min(max(1,a),$+1) .. min($,b)] > > You're really trying to aggravate those of us with US keyboards, aren't you? > :D > > How about the colon, instead? > > x[1:4] > > That's a little easier. So, is s[x:y] a single or slice assignment? No one can tell. CChris