Re: [Phix] Language Feature Request: For Each

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
euphoric said...

Why "for i"? (It seems redundant.)

There has to be an index (how else do you suggest it iterates down a sequence?),

I guess I'm not sure why it has to be user-facing. Sure, you have an index behind-the-scenes, but I, as a user, don't ever need it with this construct.

See tom's Python example. No user-facing index variable...

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

Search



Quick Links

User menu

Not signed in.

Misc Menu