[progress Communities] [progress Openedge Abl] Initial Option Supported For Class Variables

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top