FORTRAN COMPILER CONVENTIONS [ MPE Segmenter Reference Manual ] MPE/iX 5.0 Documentation
MPE Segmenter Reference Manual
Appendix A FORTRAN COMPILER CONVENTIONS
- One RBM for:
* Main.
* Each subroutine.
* Each function.
Name of main and of each subroutine or function can be up to 15
alphanumeric characters in length, starting with an alphabetic character.
Names must be unique within 15 characters to meet the requirements of the
Segmenter.
$CONTROL SEGMENT=name
* Used to assign an RBM to a specified segment.
* A name can be up to 15 alphanumeric characters in length, starting
with an alphabetic character. Must be unique within 15 characters to
meet the requirements of the Segmenter.
* In effect until the next $CONTROL SEGMENT command.
* Must precede each program unit that is to go into a specified
segment.
If no $CONTROL SEGMENT=name command appears, the compiler uses SEG' as
the default segment name of the current segment and places all RBMs into
SEG'.
- Default name for MAIN is MAIN'.
* Can override with PROGRAM name statement.
* A name can be up to 15 alphanumeric characters in length, starting
with an alphabetic. All names must be unique within 15 characters to
meet the requirements of the Segmenter.
No dummy outer block (main) generated when subroutines/functions compiled
separately.
$CONTROL CHECK=n
* Specifies the level of checking the Segmenter will perform on all
calls to the subroutine function immediately preceded by the CHECK
parameter. This parameter does not affect the level of checking of
calls to other subroutines from this one.
* The level specified, n, is an integer in the range 0 to 3. It
determines the amount of information placed in the USL.
* Level 3 is the default setting (check function type, number of
procedure or function parameters, and the type of each parameter).
* Parameter can appear at the beginning of program units only.
MPE/iX 5.0 Documentation