Easy in VFP too:
https://github.com/FoxInCloud/FoxInCloud-AB/
do <path to>/AB.prg
lo = CreateObject('empty') AddProperty(lo, 'toto', 5) AddProperty(lo, 'tata', .F.) AddProperty(lo, 'tutu', 'test') AddProperty(lo, 'titi', CreateObject('empty')) AddProperty(lo.titi, 'toto', 5) AddProperty(lo.titi, 'tata', .F.) AddProperty(lo.titi, 'tutu', 'test') AddProperty(lo.titi, 'titi', CreateObject('empty')) AddProperty(lo.titi.titi, 'toto', 5) AddProperty(lo.titi.titi, 'tata', .F.) AddProperty(lo.titi.titi, 'tutu', 'test')
? m.lo == uValueJS([{"TATA":false,"TITI":{"TATA":false,"TOTO":5,"TUTU":'test',"TITI":{"TATA":false,"TOTO":5,"TUTU":'test'}},"TOTO":5,"TUTU":'test'}])
Thierry Nivelet FoxInCloud Give your VFP app a second life in the cloud http://foxincloud.com/
Le 26/08/2016 à 04:26, Stephen Russell a écrit :
This isn't tough outside of VFP.
On Thu, Aug 25, 2016 at 6:13 PM, < mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:
On 2016-08-25 10:52, Dave Crozier wrote:
it just seems so damned complicated for a simple result.
That pretty much sums up lots of the web and early DotNet stuff!!!! I swear sometimes it seems like these uber-nerds create things to be so complex simply because they can.
[excessive quoting removed by server]