Comment: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
{|
{|
|-valign="top"
|-valign="top"
|width="10%"|'''[[Rem (statement)|Rem'''||Used comment out a whole [[line number]], or the remainder of a whole line.
|width="10%"|'''[[Rem (statement)|Rem]]'''||Used 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.

Revision as of 22:53, 5 February 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 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.
Use Not suggested, but preserved for legacy purposes. It is similar to Rem.