Re: [Phix] Language Feature Request: For Each

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

my typing is slow...

  • a flaw in the Python model is you do not have access to the index
  • second flaw, is off-by-one indexing

I find the index handy because sometimes I want to "look ahead" or "look behind" the element currently selected ... therefore I sometimes need the index.

this ''each'' version uses existing OE/Phix syntax

be well

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

Search



Quick Links

User menu

Not signed in.

Misc Menu