Coding Style - Forum - OpenEdge Development - Progress Community
 Forum

Coding Style

This question is not answered

I've realized that I have such a construction like this:

ASSIGN FRAME {&FRAME-NAME} {&SELF-NAME}
   {&SELF-NAME} = CAPS(TRIM({&SELF-NAME})).

DISPLAY {&SELF-NAME} WITH FRAME {&FRAME-NAME}.

Is there another more elegant proposition?

TIA

All Replies
  • Something like this?

    DO WITH FRAME {&FRAME-NAME}:
      {&SELF-NAME} = CAPS( TRIM( {&SELF-NAME} )  ).
      DISPLAY {&SELF-NAME}.
    END.
  • Or use the real names instead of the preprocessors. What exactly is your problem with it?

  • It's too curly.....   :(

  • And when copy/paste.. it is finished from start