>Because of the Relational Database Orientation of VFP, and lack for native object serialization support ( xml , json ) complex objects were out of the VFP conversation, even rarely you see "scatter name". Last year I shared nfXmlRead/create & nfJsonRead/Create, today I want to share "_" a very simple, small , but powerful function* that allows you to model / modify complex objects using a cleaner, effortless and readable syntax .
>
>Forget about "addproperty" if you need to add more than 1 property to an object, Just put _.prg in your path and start using it like below: ( attached picture shows result )
For a while I was (and still am) using something similar, initially written by Steven Black and then overloaded with a few extra features, also using this_access but also this_assign... It has 200 lines because of all that. But even if we strip the added features, your solution is so much more elegant. You are definitely crazier than me :).