[progress Communities] [progress Openedge Abl] Forum Post: Re: Find Xxx Of Yyy Rules

  • Thread starter Thread starter Thomas Wurl
  • Start date Start date
Status
Not open for further replies.
T

Thomas Wurl

Guest
Ok. We can talk forever about this. OF is just there and it works fine. It doesn't help to understand code, but it's very easy to wright other code that nobody unterstands. It's a question of a style guide not of the 4GL. @Marian: OF cares about data types: /* Doesn't work */ DEFINE TEMP-TABLE X NO-UNDO FIELD X AS INTEGER INDEX pix IS PRIMARY UNIQUE X. DEFINE TEMP-TABLE Y NO-UNDO FIELD X AS DECIMAL FIELD Y AS CHARACTER. FOR EACH X, EACH Y OF X: END. /* Works */ DEFINE TEMP-TABLE X NO-UNDO FIELD X AS INTEGER INDEX pix IS PRIMARY UNIQUE X. DEFINE TEMP-TABLE Y NO-UNDO FIELD X AS INTEGER FIELD Y AS CHARACTER. FOR EACH X, EACH Y OF X: END.

Continue reading...
 
Status
Not open for further replies.
Back
Top