Re: Is subscripting a slice useful

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

codepilot Gmail Account wrote:
> 
> Right now subscripting a slice is not allowed.
> I think that this code should print out {97,97,97,97}.

constant asdf={"asdf","asdf","asdf","asdf"}
? asdf[1..2][1]


Looks like it should print {'a','s','d','f'}

because asdf[1..2] is { "asdf", "asdf" }

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu