-
Notifications
You must be signed in to change notification settings - Fork 11
Description
The code using dynamic-property to access - for read or write - object properties is not parsed.
Here are some code I have tested with corresponding error message:
put unformatted dynamic-property(oObject, "pProperty").
DymanicPropertyExample1.p:9:41: expecting RIGHTPAREN, found ','
put unformatted cPrefix + ';' + quoter(string(igStock - dynamic-property(oObject, "test" + cPropertyNum))).
DymanicPropertyExample2.p:10:46: expecting RIGHTPAREN, found '('
put unformatted cPrefix + ';' + quoter(string(igStockTruck[1] - dynamic-property(oObject, "test" + cPropertyNum))).
DymanicPropertyExample3.p:10:46: expecting RIGHTPAREN, found '('
put unformatted dynamic-property("MyClass", "test" + cPropertyNum))).
DymanicPropertyExample3.p:10:46: expecting RIGHTPAREN, found '('
dynamic-property(oObject, cProperty) = "test value".
DymanicPropertyExample5.p:6:17: unexpected token: (
Thank you for checking.