[progress Communities] [progress Openedge Abl] Forum Post: Re: Method Add-fields-from...

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
"The only reason for the space is to make it more easily read by a human. " Isn't that a good reason? In a 4GL? Not everybody does generate every line of ABL code like you do. Maintainable and future-proof code needs to remain readable by humans. So in cases, where the list cannot contain entries with white spaces (ADD-FIELDS-FROM, the original topic) here - what would be the problem with ignoring those white spaces? In cases with NUM-ENTRIES, ENTRY, ... we'd need an additional argument, to ignore white spaces at the beginning and end of entries. But not add methods like ADD-FIELDS-FROM, ATTACH-DATA-SOURCE, etc.... where the ABL knows, the entries must be field names.

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