Comment: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 6: Line 6:
|width="10%"|'''[[Rem (statement)|Rem]]'''||Used to comment out a whole [[line number]], or the remainder of a whole line.
|width="10%"|'''[[Rem (statement)|Rem]]'''||Used to comment out a whole [[line number]], or the remainder of a whole line.
|-valign="top"
|-valign="top"
|width="10%"|'''[[!]]'''||Used to comment out just one [[sub-line]] (see [[!:|line-continuation]]), or the remainder of a sub-line.
|width="10%"|'''[[!]]'''||Used to comment out just one [[sub-line]] (see [[!:|line-continuation]]), or the remainder of a sub-line. Can be used in a [[Sort Control File]].
|-valign="top"
|-valign="top"
|width="10%"|'''[[Use]]'''||Not suggested, but preserved for legacy purposes.  It is similar to Rem.
|width="10%"|'''[[Use]]'''||Not suggested, but preserved for legacy purposes.  It is similar to Rem.
Line 12: Line 12:
|}
|}
<br>
<br>


<noinclude>
<noinclude>

Latest revision as of 19:19, 7 August 2013

Business Rules! lines may include a comment after the statement(s). The comment must be separated from the rest of the statement by at least one space and an exclamation point or the REM statement.

The keywords for comments are:

Rem Used to comment out a whole line number, or the remainder of a whole line.
! Used to comment out just one sub-line (see line-continuation), or the remainder of a sub-line. Can be used in a Sort Control File.
Use Not suggested, but preserved for legacy purposes. It is similar to Rem.