Line Continuation: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
More than one clause (or [[statement]]) can reside on a single [[line]] when the statements are separated by a colon (:). When the statements are separated by both an exclamation point and a colon (!:), Business Rules will list them to separate physical lines, even though they continue to belong to the same line number.  Each portion of a line seperated by an !: is referred to as a ''sub-line''.
More than one clause (or [[statement]]) can reside on a single [[line]] when the statements are separated by a colon (:). When the statements are separated by both an exclamation point and a colon (!:), Business Rules will list them to separate physical lines, even though they continue to belong to the same line number.  Each portion of a line seperated by an !: is referred to as a ''sub-line''.


[[Paragraph labels]] following line continuations are not allowed. However they are allowed following a subline [[comment] out ([[!]]), for example:
[[Paragraph labels]] following line continuations are not allowed. However they are allowed following a subline [[comment]] out ([[!]]), for example:


  00010 TOP: ! !:
  00010 TOP: ! !:

Latest revision as of 18:19, 23 July 2013

An !: in Business Rules! code performs a line continuation.

More than one clause (or statement) can reside on a single line when the statements are separated by a colon (:). When the statements are separated by both an exclamation point and a colon (!:), Business Rules will list them to separate physical lines, even though they continue to belong to the same line number. Each portion of a line seperated by an !: is referred to as a sub-line.

Paragraph labels following line continuations are not allowed. However they are allowed following a subline comment out (!), for example:

00010 TOP: ! !:
      Print Newpage