Should a property be quoted in object context or not
Let's say I have a property as a variable value:
set propName="Country"
Is there a method to determine, should I quote it to access the object, so would the correct code be:
write obj."Country"
or just simple
write obj.Country
is enough?
Does
$zname(propName,6)
help you?
Docs.
Thank you, John!
Looks like it is exactly what I heed.
It seems that this function hasn't been updated to cater for quoted property names.
.. is a valid property name, but $ZName("""Long_Address""",6) returns 0
About everything quoted is a valid property name: