86 IRIS WORKSTATION GUIDE
Version 1.0
Appendix D:
NOTE: It is tempting to use the
PARAMETER
statement
in FORTRAN to define constants for passing to the IRIS
Graphics Library. The user is forewarned that any
constants defined in a FORTRAN
PARAMETER
statement
are of type
integer*4
. Specifically declaring these
constants to be of another type has no effect!
This set of problems changes if the
$INT2
option to the FORTRAN compiler is
used. Refer to this option in the FORTRAN Reference manual for more
information.
D.5 FORTRAN 77 Revision Notes
In order to ease the task of porting FORTRAN 66 programs to FORTRAN 77,
Hollerith is now supported in the following contexts.
• Hollerith in DATA Statement - Values may now be expressed in
Hollerith notation (
nHxxxx
). Each Hollerith value initializes a single
data item. If the number of bytes required to fill the data item
exceeds the number of characters in the Hollerith data value, the
lengths are matched by padding the Hollerith value with blanks on
the right. If the Hollerith value is longer that the required number of
bytes, trailing bytes of the value are discarded. If non-character data
items are initialized using Hollerith notation, the
$CHAREQU
option
must be set.
• Hollerith in
SUBROUTINE
and
FUNCTION
calls - Actual arguments
may be expressed in Hollerith for user subroutine and function calls.
The address of a “read only” temporary that is initialized to an array
of characters as specified in the actual argument is passed to the
subprogram. Hollerith actual parameters are considered numeric or
logical, corresponding to formal parameters typed
INTEGER
,
REAL
,
DOUBLE
PRECISION
,
COMPLEX
, or
LOGICAL
(any length, array
or non-array). Formal parameters that are of a
CHARACTER
type
should not be used with actual parameters expressed in Hollerith.
The
$CHAREQU
option must be set in order to use Hollerith in
actual argument lists.
• Hollerith in Assignment Statements - Assignment statements in
which the expression on the right hand side is a Hollerith value are
accepted. If the type of the left hand side is
CHARACTER
, the Hollerith
notation is considered the same as a quoted character string. In all
other cases, the
$CHAREQU
option must be set and assignment uses
the same conventions as data initialization (as described above).
• Using arrays as
FORMAT
specifiers - The system accepts an array
name as a format specifier. Thus, the following example
Summary of Contents for IRIS Workstation
Page 1: ...IRIS Workstation Guide Version 1 0 Silicon Graphics Inc Mountain View California 94043 ...
Page 6: ...2 IRIS WORKSTATION GUIDE Version 1 0 Introduction ...
Page 24: ...20 IRIS WORKSTATION GUIDE Version 1 0 Hardware Installation ...
Page 30: ...26 IRIS WORKSTATION GUIDE Version 1 0 Operation ...
Page 48: ...44 IRIS WORKSTATION GUIDE Version 1 0 System Administration ...
Page 50: ...46 IRIS WORKSTATION GUIDE Version 1 0 Appendix A ...
Page 74: ...70 IRIS WORKSTATION GUIDE Version 1 0 Appendix B ...
Page 77: ...Version 1 0 IRIS WORKSTATION GUIDE 73 Appendix C e random gr error f wnrepaint ...
Page 78: ...74 IRIS WORKSTATION GUIDE Version 1 0 Appendix C ...
Page 92: ...88 IRIS WORKSTATION GUIDE Version 1 0 Appendix D ...
Page 102: ...98 IRIS WORKSTATION GUIDE Version 1 0 Appendix E ...
Page 103: ...Appendix F Manual Pages ...
Page 104: ......
Page 131: ...Version 1 0 126 IRIS WORKSTATION GUIDE Appendix F ...
Page 132: ......
Page 136: ...130 IRIS WORKSTATION GUIDE Version 1 0 Appendix H ...
Page 152: ...146 IRIS WORKSTATION GUIDE Version 1 0 Appendix J ...