Re: Phix wiki 3
- Posted by _tom (admin) Jan 24, 2021
- 718 views
[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