This should be simple, but I can't seem to wrap my head around it
🙂I have an associative array called X, and it has an associative array called Y. Y might have a string called Z.
All is fine if Z does exist, but if it doesn't these methods all result in a crash:
If I try
if x.y.z <> invalid
I get "Syntax Error"
if x.y.lookup("z") <> invalid
I get "Member function not found in BrightScript Component or interface."
if x.y.DoesExist("z")
I get "Member function not found in BrightScript Component or interface."
Can anybody point me in the right direction? Thank you!