Re: suggestion sequence section
- Posted by gertie at visionsix.com Feb 07, 2003
- 461 views
On 7 Feb 2003, at 17:34, jbrown1050 at hotpop.com wrote: > > On Fri, Feb 07, 2003 at 03:53:57PM -0600, 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. > > > > I think the results you want can be obtained, but maybe not the way you want > > to obtain them...? > > Or you can do what I did and write a parser to convert all s[x] to es(s, x), > if > you must have that syntax. > > Or, if you really want it in the interpreter, ask for it in the openeu mailing > list, as it seems unlikely that RC will add such new inovative things in the > mainstream interpreter. I un-subbed from that list months ago, nothing i suggested was acceptable. I can get all the rejection i need here, thanks. Kat