ILE C/C++ Compiler Reference


How to Read the Syntax Diagrams

The following syntax diagram example shows the syntax for the #pragma comment directive. See ILE C/C++ Pragmas for information about the #pragma directive.

 1   2    3    4         5         6                               9     10 
 >>-#--pragma--comment--(**----*compiler*-----------------------*--)-><
                          |                                     |
                          +----*date*---------------------------+
                          |                                     |
                          +----*timestamp*----------------------+
                          |                                     |
                          *--*--copyright--*--*-----------------+
                             |             |  |                 |
                             *--user-------*  *-*,*"characters"-*

                                                 7       8 

The following examples of the #pragma comment directive are syntactically correct according to the diagram shown above:

   #pragma comment(date)
   #pragma comment(user)
   #pragma comment(copyright,"This text will appear in the module")

[ Top of Page | Previous Page | Next Page | Contents | Index ]