[09 Mar 2008] a comparison test that fails
Posted: Sat Jun 13, 2020 5:31 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 9 Mar 2008 11:30:16 +1100
Hi again,
Please verify whether this is by design or is another bug. I have written a function to workaround it for the meantime.
Regards,
Dwayne
Hi again,
Please verify whether this is by design or is another bug. I have written a function to workaround it for the meantime.
Code: Select all
c="account"
grandchild={__type="object"}
child={__type="object"}
inherited={__type="object", account={__type="object"}}
debugprint (inherited[c]=grandchild) ; __type="object" = __type="object" --> 0 (false)
debugprint (child=grandchild) ; __type="object" = __type="object" --> 0 (false)
debugprint (grandchild=grandchild) ; __type="object" = __type="object" --> 1 (true)
Dwayne