The collection has a default method, which returns an item. So instead of
?loCol.items("first")
using
?loCol("first")
works the same. Even better, if the returned item is an object, I can call its methods
?loCol("first").SomeMethodCall("with", "parameters")
or set its properties
loCol("first").SomeProperty="Some value"
First I thought I saw it somewhere but wasn't sure if it was a VFP collection or some other language. Then I just thought to try and see if it works - and it does.
The question for the collegium is whether this is using the collection as a fox object or via COM (i.e. is there the overhead), and what are the limitations.