HPlogo ALLBASE/SQL FORTRAN Application Programming Guide: HP 9000 Computer Systems > Chapter 2 Using The ALLBASE/SQL FORTRAN Preprocessor

FORTRAN Preprocessor Compiler Directives

» 

Technical documentation

» Feedback

 » Table of Contents

 » Index

The FORTRAN preprocessor supports following compiler directives of the following syntax:

  • $[OPTION] SET (identifierlist)

  • $[OPTION] IF (conditionlist)

  • $[OPTION] ELSE

  • $[OPTION] ENDIF

  • $[OPTION] INCLUDE 'filename'

If the $INCLUDE directive is used and the user include file contains embedded SQL commands, there cannot be duplicate host variable type declaration sections. The program unit being preprocessed and the file that is included cannot both contain BEGIN DECLARE SECTION and END DECLARE SECTION commands. However, one or the other may contain a host variable type declaration section.

The $ must be the first character in the line, and must be followed by any compiler directive.

Refer to the HP FORTRAN 77/HP-UX Reference for HP 9000 Series 800 systems (Part Number 92430-90005) or the FORTRAN/9000 Reference (Part Number B2408-90003) for HP 9000 Series 700 systems (Part Number B2408-90003).

300/400:

For Series 300 and 400 systems, refer to the FORTRAN/9000 Reference for HP 9000 Series 300 Computers (Part Number B2372-90000) for more information on FORTRAN compiler directives.

Feedback to webmaster