VAX FORTRAN Extensions Available in Microsoft FORTRAN 5.1

Last reviewed: July 19, 1995
Article ID: Q50504
The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS and OS/2, versions 5.0, 5.1

Microsoft FORTRAN versions 5.0 and 5.1 includes many, but not all, Digital Equipment Corporation (DEC) VAX FORTRAN extensions. The Microsoft FORTRAN "Reference" manual for versions 5.0 and 5.1 lists most of the supported extensions on pages 331-332. Appendix B in the Reference manual lists other features of FORTRAN versions 5.0 and 5.1.

Microsoft FORTRAN supports the following VAX FORTRAN extensions.

  • 31 character names
  • ACCESS selector 'APPEND' in the OPEN statement
  • Integer arrays can contain FORMAT statements
  • BLOCKSIZE and NML I/O keywords
  • Debug comment lines
  • DO statements without specified labels
  • DO WHILE statement
  • END DO statement
  • EQUIVALENCE of character and noncharacter items
  • EQUIVALENCE to a multi-dimensional array with only one subscript
  • Exponentiation of REAL and COMPLEX statements
  • IMPLICIT NONE
  • INCLUDE compiler directive
  • Initialization on the declaration line
  • In-line comments
  • Length specifications in the FUNCTION statement
  • Length specifications in type declarations
  • Mixing character and noncharacter items in COMMON statements
  • NAMELIST
  • Noninteger alternate return values
  • Noninteger array subscripts
  • Numeric operands for .AND., .OR., and so on
  • Specified common-block variables in DATA statements outside a BLOCK DATA subroutine
  • STRUCTURE, UNION, MAP statements
  • Up to 99 continuation lines
  • Using the dollar sign ($) in names
  • .XOR. operator


Additional reference words: kbinf 5.00 5.10
KBCategory: kbprg
KBSubcategory: FORTLngIss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 19, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.