When running the joanju_testrun we get the following error with regards to user defined data types:
BLUtilities.cls:36:3: unexpected token: GET
Code Example:
DEFINE PUBLIC PROPERTY EnumOrderStatus AS common.EnumOrderStatus
GET:
RETURN objEnumOrderStatus.
END GET.
Is this supported?
Thanks in advance.
parens
Hi Rod, for a GET implementation, proparse expects the parens () as documented in the language ref, ie:
You don't need the parens if there is no implementation:
The fact that the compiler doesn't require the parens is not documented, and not currently supported in Proparse.
Regards,
John
Has this been fixed or enhanced yet?
Well, it might not be documented like that, but in fact the OpenEdge Architect templates used for inserting properties with a GET implementation do not add parens as well.
So I'd assume there a bunch of class files using GETters without parents.
issue created
Yuk. I didn't realize Architect was using this undocumented feature.
I created an Issue in the Proparse Project www.oehive.org/node/1488.
This one really shouldn't take long to fix at all.
Quick Responce
Thanks for the quick responce. Fixed the problem right away.
Are you using this
Are you using this version?
http://www.oehive.org/node/1421