Re: New slice operator

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

Jason Gade wrote:
> 
> Fernando Bauer wrote:
> > How about this:
> > }}}
<eucode>
> >    puts(1,s[1~30])
> > </eucode>
{{{

> > 
> > Matt wrote:
> > > My thought is, "Is there really a need for this stuff?"  There are better
> > > ways to do this in euphoria.  This seems like a very BASIC-y way to do 
> > > things.  I don't think we should include this in the standard library.

I think this is all rather redundant.  We already have
a slice operator.  Instead of puts(1,s[1~30]) use puts(1,s[1..30])

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

Search



Quick Links

User menu

Not signed in.

Misc Menu