Re: suggestion sequence section
- Posted by gertie at visionsix.com Feb 07, 2003
- 460 views
On 7 Feb 2003, at 15:53, C. K. Lester wrote: > > > s = "abcdefgh" > > x = "1..2" > > ? s[x] > > > > This only borders on string execution. > > I'm sure there's a reason, so I want to know why you can't go: > > s = "abcdefgh" > x = 1 > y = 2 > ?s[x..y] > > or use an eXtractSequence function: > > s = "abcdefgh" > x = "1..2" > ? es( s, x ) > > where x can be an object... you'll just have to parse it out, which won't be > too > difficult. Doing that now, simple matches and tests for type. What is your arguement against my suggestion to include this form in the language, where it could be done faster? > I think the results you want can be obtained, but maybe not the way you want > to > obtain them...? That can be said for almost anything. It's so good to know anything i suggest will be shot down, saves me from expecting anything till next year when someone else suggests it and it's accepted at that time. I am aware people will dismiss anything i say, merely because i am the one saying it, but at least the idea is out there, and someone else can add it to their calendar to bring it up again next year. Kat