Adding comments to your procedure
- Last Updated: October 18, 2024
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Adding comments to your procedure
The final step in this exercise is to add some comments
to your procedure to make sure you and everyone else can follow
what the code does. In ABL you begin a comment with the characters /* and
end it with */. A comment can appear anywhere in
your procedure where white space can appear (that is, anywhere except
in the middle of a name or other token). You can put full-line or
multi-line comments at the top of each section of code, and shorter
comments to the right of individual lines. Just make sure you use
them, and make them meaningful to you and to others. Here's the
final procedure with a few added comments:
h-CustSample.p
|