![]() |
Software > OpenVMS Systems > Documentation > 82final > 5841 ![]() HP OpenVMS Systems Documentation |
![]() |
HP OpenVMS Programming Concepts Manual
E.8 FORTRAN ImplementationsTable E-8 lists the OpenVMS data types and their corresponding FORTRAN data type declarations.
1Alpha and I64 specific. 2Unsigned data types are not directly supported by FORTRAN. However, in most cases you can substitute the signed equivalent as long as you do not exceed the range of the signed data structure. 3The format used by floating-point data in memory is determined by the FORTRAN command qualifier /FLOAT. 4The REAL*16 type is used for both H_floating on VAX systems and X_floating on Alpha and I64 systems. E.9 Pascal ImplementationsTable E-9 lists the OpenVMS data types and their corresponding Pascal data type declarations.
1This type is not available in Pascal when an empty record has been inserted. To manipulate the contents, declare with explicit field components. If you pass an empty record as a parameter to a Pascal routine, you must use the VAR keyword. 2Pascal expects either a type identifier or conformant schema. Declare this under the TYPE declaration and use the type identifier in the formal parameter declaration. 3Pascal allocates a byte for a BOOLEAN variable. Use the [LONG] attribute when passing to routines that expect a longword. 4This parameter declaration accepts VARYING OF CHAR or PACKED ARRAY OF CHAR and produces the CLASS_S descriptor required by system services. 5The program must inherit the STARLET environment file located in SYS$LIBRARY:STARLET.PEN. 6If the (G_Floating) attribute is used in compiling, double-precision variables and expressions are represented in G_Floating format. You can also use the /G_FLOATING command line qualifier. Both methods default to no G_FLOATING. 7Alpha and I64 specific. 8The mapping of these types is controlled by the /FLOAT DCL qualifier and the [FLOAT] module attribute. 9QUADRUPLE maps to H floating on OpenVMS VAX and maps to X floating on OpenVMS Alpha and OpenVMS I64. 10Available only on OpenVMS VAX.
|