Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

But whatever you do, don't stop reading at this point! Because the next bit explains a better way.

Refactoring code

Refactoring is the processing of reworking your code to improve its quality. In fact I hadn't bothered doing the copy and paste because I'd assumed I'd want to create a local procedure of some kind. WinDev makes this easy. Just highlight the code in question, right click, and choose Create a procedure | Create a local procedure containing the selected code. (You can also refactor the code as a global procedure.)

...