RE: if statement not working

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu