Line Continuation: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "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 separa...")
 
No edit summary
Line 1: Line 1:
An '''!:''' in Business Rules! code performs a '''line continuation'''.
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 reffered 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:

Revision as of 18:49, 4 February 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