P
Peter Judge
Guest
(from https://community.progress.com/community_groups/openedge_development/f/19/t/22737 ) Say I have the following enum ENUM Condition: DEFINE ENUM New Used. END ENUM. And I have a class: CLASS Product: DEFINE PUBLIC PROPERTY Condition AS Condition /* INITIAL Condition:New */. GET. PRIVATE SET. END CLASS. The compiler doesn't seem to like this INITIAL statement. Is this not supported (yet) for enums? I know I can write logic to return some value in the getter when Condition = ? but, using INITIAL would be more elegant...
Continue reading...
Continue reading...