Re: Phix wiki 3

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

[quote euphoric]

_tom said...

Slicing is a left to right action:

sequence s = { 1,2,3,4} 
? s[1..3 ]              // {1,2,3} 
? s[1..-2]              // {1,2,4} 

Should that second slice be {1,2,3} also?

yup, - - and / / are line comments

_tom

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

Search



Quick Links

User menu

Not signed in.

Misc Menu