Yes, FOR..EACH is normally used with collections, that's whay the addition of the "FOXOBJECT" keyword, to treat them different than COM objects (which are the default expected objects for FOR..EACH)
2018-07-31 6:57 GMT+02:00 mbsoftwaresolutions@mbsoftwaresolutions.com:
On 2018-07-27 04:43, Alan Bourke wrote:
No matter how long you've been hacking VFP and how good you think you are, there's always something you didn't realise. Such as the fact that FOR ... EACH works with arrays.
I pretty much only use it with arrays. What else would you use it for??? Collections I guess?
[excessive quoting removed by server]