RE: if statement not working
- Posted by Rod Jackson <rodjackson_x at hotmail.com> Mar 23, 2002
- 428 views
Graeme wrote: > At 06:10 PM 3/22/02 -0600, Kat wrote: > > > > >So stop with the padding already! When can i expect that $30? > > > > so if s="hello" > > s[2..4] is "ell" > s[-1..2] is "he" > s[5..6] is "o" > and s[34..39] is {} > > > interesting idea. > I still dont like it that much... Ditto. I think many are forgetting that we're not really talking just about the 'if' statement here, but rather how subscripting operates as an expression. Euphoria spends, I would imagine, a bit of time during runtime making sure you don't try to access an invalid index. The safety of that implementation is supposed to be a selling point. Now, suddenly, ALL indices should be valid for EVERY sequence? Is that *really* what we want? Rod Jackson