Aparajita: "Don’t be so quick to complain; you finally got ‘for each’ 10 years after the rest of the world (including Active4D).” Good point. So…you’re thinking that the feature set is complete?
"I don’t know of a single language (and I have used at least 6) where ‘for each’ is reversible.” This could be 4D’s chance to be a trendsetter! "Indexed loops haven’t gone away and have their uses.” No doubt. I have to use them often when working with collections. Frankly, it’s funny that we have such a handy looping construct yet I have write code to init and update my own index. How about using “++" to increment? -- Douglas von Roeder 949-910-4084 On Fri, May 1, 2020 at 1:32 PM Aparajita Fishman via 4D_Tech < [email protected]> wrote: > > >> Another WTF is that you can’t iterate from the end of a collection to > the > >> start. You can reorder the collection and then run a For each loop but > >> that’s a complete kludge. > > Don’t be so quick to complain; you finally got ‘for each’ 10 years after > the rest of the world (including Active4D). I don’t know of a single > language (and I have used at least 6) where ‘for each’ is reversible. > Indexed loops haven’t gone away and have their uses. > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

