Re: suggestion sequence section
- Posted by Lucius Hilley <l3euphoria at bellsouth.net> Feb 11, 2003
- 452 views
Oh boy. Well, I like them both. But my preference is put on s[{49,46,46,50}] = s[49] & s[46] & s[46] & s[50] The error message could be tricky to code though. Guess it would be like... Trying to index 50 in a length 49 sequence 50 > 49 or whatever it is that is closest to Robert Craig's error current message. Lucius L. Hilley III ----- Original Message ----- From: "Carl W." <euphoria at cyreksoft.yorks.com> To: "EUforum" <EUforum at topica.com> Sent: Monday, February 10, 2003 07:31 AM Subject: Re: suggestion sequence section > > gertie at visionsix.com wrote: > > > Can we get: > > > > s = "abcdefgh" > > x = "1..2" > > ? s[x] > > That's equivalent to ? s[{49,46,46,50}] which other people have requested > return a sequence containing the 49th, 46th, 46th again and 50th elements of > s[]. > > Which interpretation is better? Discuss. :) > > -- > [ Carl R White == aka () = The Domain of Cyrek = ] > [ Cyrek the Illogical /\ www.cyreksoft.yorks.com ] > > > > TOPICA - Start your own email discussion group. FREE! > >