!

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(New page: '''!''' '''Syntax:''' ! comment text '''Discussion:''' The exclamation mark (!) is the comment character. It may appear anywhere in a report specification. When the report is prepared...)
 
(4 intermediate revisions not shown)
Line 1: Line 1:
'''!'''  
'''!'''  
 +
'''Syntax:'''  ! comment text   
'''Syntax:'''  ! comment text   
-
'''Discussion:''' The exclamation mark (!) is the comment character. It may appear anywhere in a report specification. When the report is prepared, any text following the comment character is ignored.   
+
 
-
'''History:''' Starting with Release 01.02, the comment character may appear anywhere on the line. Previously, the comment character was only recognized in the first position on the line.   
+
'''Discussion:''' <br>
-
'''Example:'''  100  ! This report prints customer numbers and names
+
The exclamation mark (!) is the comment character. <br>
-
200  !
+
It may appear anywhere in a report specification.<br>
-
300  INPUT CUSTOMER    ! get data from customer file
+
When the report is prepared, any text following the comment character is ignored.   
-
400  REPORT            ! prepare the report now
+
 
-
500  !  
+
'''History:''' <br>
-
600  ! The following command prints the customer number
+
Starting with Release 01.02, the comment character may appear anywhere on the line.<br>
-
700  ! and customer name
+
Previously, the comment character was only recognized in the first position on the line.   
-
800  !
+
 
-
900  PRINT CUST.NUMBER;CUST.NAME
+
'''Example:'''  
-
1000  END
+
   100  ! This report prints customer numbers and names
 +
  200  !
 +
  300  INPUT CUSTOMER    ! get data from customer file
 +
  400  REPORT            ! prepare the report now
 +
  500  !  
 +
  600  ! The following command prints the customer number
 +
  700  ! and customer name
 +
  800  !
 +
  900  PRINT CUST.NUMBER;CUST.NAME
 +
1000  END

Latest revision as of 11:51, 5 June 2009

!

Syntax:  ! comment text

Discussion:
The exclamation mark (!) is the comment character.
It may appear anywhere in a report specification.
When the report is prepared, any text following the comment character is ignored.

History:
Starting with Release 01.02, the comment character may appear anywhere on the line.
Previously, the comment character was only recognized in the first position on the line.

Example:

 100   ! This report prints customer numbers and names
 200   !
 300   INPUT CUSTOMER     ! get data from customer file
 400   REPORT             ! prepare the report now
 500   ! 
 600   ! The following command prints the customer number
 700   ! and customer name
 800   !
 900   PRINT CUST.NUMBER;CUST.NAME
1000   END