Comment Instructions


ANSI

 

Comment Instructions may be placed almost anywhere in the program. They are designated by a period (.), semicolon (;), asterisk (*) or plus sign (+) or double slashes (//) and must begin in the first position of the line. Their primary purpose is for program documentation. For example, the following lines contain Comment Instructions:

 

+==========================================

DATE

DIM

8

Gets the date

 

Comment Instructions that begin with a period (.) or a semicolon (;) are simply printed. Those beginning with an asterisk (*) generate a form feed if there are fewer than 12 lines remaining on the current page. Otherwise, they are simply printed. Comment Instructions beginning with a plus sign (+) generate a form feed regardless of the number of lines remaining.

 

The double slash format of a comment instruction is a non-ANSI implementation.

 

 

See Also: Instruction Syntax

 

 



PL/B Language Reference Program Execution Labels Literals