View Full Version : FOR EACH?
marcuslee
23-11-2009, 04:16
I'm working on the Looping article for the tutorial. :read: And, I can't find any reference to the FOR EACH construction that you find in VB. It's okay, Eros. ;--) Don't go and add it on my account. I just want to make sure it isn't there. I'm sure we don't need it if it isn't there. ;)
Mark
Petr Schreiber
23-11-2009, 08:35
Hi Mark,
foreach is not present at the moment.
ErosOlmi
23-11-2009, 08:54
Not present at the moment. Maybe one day ... but not soon
marcuslee
23-11-2009, 15:35
I figured as much. But, I'll say it again: Don't add it on my account. I don't need it. The way I understand it FOR EACH is used primarily for objects, so it is probably really helpful in OOP. I've used it with Excel VBA to loop through cells, which in Excel are kinda viewed as objects.
At present the only way I see to use it would be to loop through a UDT or an array. Either way I don't need it. I am sure there are other things on your wish list which are of greater priority.
Mark