DIGITAL Visual Fortran v5.0         Standard and Professional Editions


Overview

DIGITAL Visual Fortran v5.0 for Win32 systems integrates robust
Fortran compiler technology from DIGITAL with the Developer Studio
integrated development environment from Microsoft.   DIGITAL Visual
Fortran (DVF) is the Microsoft recommended replacement product for 
Microsoft Fortran PowerStation v4.0. 

DIGITAL Visual Fortran v5.0 is available in two editions:

o  DIGITAL Visual Fortran v5.0 Standard Edition

   The DVF Standard Edition contains the DVF compiler, libraries, and
   Developer Studio for Intel processors running Windows NT 4.0
   or Windows 95.

o  DIGITAL Visual Fortran v5.0 Professional Edition

   The DVF Professional Edition contains everything in the Standard
   Edition plus the DVF compiler, libraries, and Developer Studio 
   for DIGITAL Alpha processors running Windows NT 4.0.  It also
   contains the IMSL math and statistics libraries for both Intel
   and Alpha.

The Fortran 90 optimizing compiler is derived from the same source as
the DIGITAL Fortran compilers on DIGITAL UNIX and OpenVMS.  In
addition to the popular DIGITAL Fortran language extensions, the
compiler has been enhanced to be compatible with Microsoft Fortran
PowerStation and to support Fortran 95 language features. 

The powerful integrated tool set in Developer Studio includes: 

o  a Project Manager for automating application builds according to
   user-defined specifications and tool settings

o  an Editor which features user-customizable keyword coloring for
   easy to read source files

o  a Browser for perusing symbol usage in the source code and viewing
   graphs of calling relationships among functions

o  a Resource Editor for creating Win32 user interface components
   such as dialog boxes or icons

o  a Debugger for checking the logic of an executing program and
   examining or changing variable values at run-time

o  a Profiler for determining the execution frequency of various code
   paths

o  an incremental Linker for faster builds following small changes
   to the source

In addition, there are a variety of other utilities and tools to
support the developer. 

DIGITAL Visual Fortran provides extensive on-line HELP and an
on-line Programmer's Guide as well as a hard copy Language Reference
Manual and Getting Started booklet. 


Mixed language programming

Mixed-language programming is the process of building programs in
which the source code is written in two or more languages.  DIGITAL
Visual Fortran can be used with other 32-bit versions of Microsoft
languages like Visual C++, Visual Basic, and MASM. 

Mixed language development is especially easy with Visual C++ 5.0. 
DIGITAL Visual Fortran 5.0 includes the Microsoft Developer Studio
integrated development environment (IDE), the same IDE that is used
with Visual C++ 5.0. Having a common IDE enables you to edit, debug,
compile, and link Fortran and C/C++ modules transparently.  Fortran
object modules may be linked directly with your C/C++ program.  It
also possible to create Fortran DLLs and use MFC in Visual C++ 5.0 to
create "wrappers" for the DLLs.  OLE objects can also be created in
this manner. 


The Fortran Module Wizard  

An added value tool provided in DIGITAL Visual Fortran 5.0 is the
Fortran Module Wizard.  The Fortran Module Wizard is designed to
automatically generate Fortran source code that can invoke routines
in a dynamic link library (DLL), methods of an Automation object, and
member functions of a Component Object Model (COM) object.  COM is
the base architecture of OLE (Object Linking and Embedding) and
ActiveX and is an extensible architecture that provides mechanisms
for creating and using software components. 

The goal of the Fortran Module Wizard is to remove some of the
complexity facing a Fortran developer in accessing the rich set of
services available to clients in the Windows environment through DLLs
and COM-based servers. The Fortran Module Wizard reads a description
of a service which the service provider created and generates
appropriate Fortran interface code.  This automatically generated
code makes calling these services as easy as calling another Fortran
function or subroutine. 

A detailed description of the The Fortran Module Wizard is beyond the
scope of this product description.  Consult the DIGITAL Fortran web
pages (see below) for more information. 


System Requirements

DIGITAL recommends the following minimum system configuration:

o  PC with an Intel 486/66 MHz or higher processor (Intel Pentium
   series recommended)

   - Microsoft Windows 95 or Microsoft Windows NT 4.0
   - 16 MB of memory (32 MB recommended) on Windows 95 systems
   - 24 MB of memory (32 MB recommended) on Windows NT systems
   - Hard disk space:  30 MB to run from CD-ROM up to 240 MB to
     install all components

   or

   DIGITAL Alpha processor (or 100% compatible

   - Microsoft Windows NT 4.0
   - 32 MB of memory (48 MB recommended) on Windows NT systems
   - Hard disk space:  40 MB to run from CD-ROM up to 260 MB to
     install all components

o  CD-ROM drive to install DIGITAL Visual Fortran.  Your system should
   have 32-bit CD-ROM drivers installed.

o  VGA monitor (17 inch SVGA monitor recommended)

o  Mouse or compatible pointing device


Detailed Description of Compiler Features

A summary of the DIGITAL Fortran compiler as it has been extended
for this product is provided below.

DIGITAL Visual Fortran is an implementation of the Fortran
programming language that supports the FORTRAN 66, FORTRAN 77 and
Fortran 90 standards. DIGITAL Visual Fortran runs on and generates
native object code for Intel systems under Windows NT and Windows 95
and on Alpha systems under Windows NT. 

DIGITAL Visual Fortran fully supports the following language
standards:

o  FORTRAN 66 (ANSI X3.9-1966)

o  FORTRAN 77 (ANSI X3.9-1978)

o  ISO 1539-1980(E)

o  MIL-STD-1753

o  FIPS-69-1 (DIGITAL Visual Fortran meets the requirements of
   this standard by conforming to the ANSI Standard and by
   including a flagger. The flagger optionally produces
   diagnostic messages for compile-time elements that do not
   conform to the Full-Level ANSI Fortran Standard.)

o  Fortran 90 (ANSI X3.198-1992)

o  ISO 1539-1991(E)

DIGITAL Visual Fortran supports extensions to the ISO and ANSI
standards, including a number of extensions defined by Microsoft[R]
Fortran PowerStation 4.0.  DIGITAL Visual Fortran also includes a
number of extensions defined by DIGITAL Fortran for the various
DIGITAL Fortran platforms (operating system/architecture pairs).  In
addition to DIGITAL Visual Fortran systems, DIGITAL Fortran platforms
include: 

o  DIGITAL Fortran 90 and DIGITAL Fortran 77 on DIGITAL UNIX[R]
   (formerly DEC OSF/1[R]) Alpha systems

o  DIGITAL Fortran 90 and DIGITAL Fortran 77 on OpenVMS[TM]
   Alpha systems

o  DIGITAL Fortran 77 on OpenVMS VAX[TM] systems

Major additions to the FORTRAN 77 standard introduced by the Fortran
90 standard include: 

o  Array operations

o  Improved facilities for numeric computation

o  Parameterized intrinsic data types

o  User-defined data types

o  Facilities for modular data and procedure definitions

o  Pointers

o  The concept of language evolution

o  DATE_AND_TIME intrinsic that returns a 4-digit year

In addition, the Fortran 90 standard includes the following
industry-accepted extensions to the FORTRAN77 standard: 

o  Support for recursive subprograms

o  IMPLICIT NONE statements

o  INCLUDE statement

o  NAMELIST-directed I/O

o  DO WHILE and ENDDO statements

o  Use of exclamation point (!) for end of line comments

o  Support for automatic arrays

o  Support for the following SELECT CASE - CASE - CASE DEFAULT
   - END SELECT statements.

o  Support for the EXIT and CYCLE statements and for construct
   names on DO - END DO statements

DIGITAL Visual Fortran includes the following features and
enhancements found in Microsoft PowerStation Fortran v4.0: 

o  .f, .for, .f90 source file types

o  # Constants-constants using other than base 10

o  C Strings-NULL terminated strings

o  MBCS Characters in Comments

o  MBCS Characters in String Literals

o  Conditional Compilation And Metacommand Expressions
   ($define, $undefine, $if, $elseif, $else, $endif)

o  !MS$ metacommand Form

o  $FREEFORM, $NOFREEFORM-source file format

o  $OBJCOMMENT-place library-search record in object file

o  $INTEGER, $REAL-selects size

o  $FIXEDFORMLINESIZE-line length for fixed form source

o  $STRICT, $NOSTRICT-F90 conformance

o  $PACK-structure packing

o  Kind Numbers Match Bytes-Kind parameters

o  AUTOMATIC Attribute-automatic storage class

o  Integer Pointers-AKA Cray Pointers

o  VAX Structures == F90 sequence Derived Types

o  Mixing Logicals and Numerics-logicals used with arithmetic
   operators and variables

o  Argument Matching For Procedure Calls

o  Mixing Integer Kinds to Intrinsics

o  Byte Data Type == INTEGER*1

o  $ATTRIBUTES [ ] Form

o  $ATTRIBUTES ALIAS-external name for a subprogram or common
   block

o  $ATTRIBUTES C, STDCALL-calling and naming conventions

o  $ATTRIBUTES VALUE, REFERENCE-calling conventions

o  $ATTRIBUTES DLLIMPORT, DLLEXPORT-import/export from DLL

o  Character and Non-character equivalence

o  Double Complex Data Type

o  .XOR.-exclusive disjunction

o  Integer Arguments In Logical Expressions

o  Option - CARRIAGECONTROL=-controls the output of formatted
   files

o  Option - MODE=-controls access to file on networked systems

o  Option - TITLE=, IOFOCUS=-controls QuickWin child windows

o  Option - SHARE=-controls simultaneous access to file on
   networked systems

o  Default Carriage Control

o  Implicit Open-prompt user for filenames

o  Special Device Names For FILE= In OPEN statements

o  FORM=BINARY in INQUIRE/OPEN statements

o  Unformatted Sequential File Form

o  Q Edit Descriptor-number of characters remaining in the
   input record

o  \ Descriptor-prevents writing an end-of-record mark

o  $ Edit Descriptor-suppresses the carriage return at the end
   of a record

o  X Edit Descriptor Default-1

o  Ew.dDe and Gw.dDe Edit Descriptors-similar to Ew.dEe and
   Gw.dEe

o  Variable Format Expressions-integer expression in FORMAT
   statement

o  Expanded missing ,'s In FORMAT statements-optional commas

o  Expanded Namelist Start/End Sequences

o  All Path Names: including Driver, Compiler, and INCLUDE
   Statement MBCS Enabled                             [not W95]

o  Universal Naming Convention (UNC) Pathnames

o  Long Filenames

o  7200 Character Statement Length

o  Debug Lines (D in column 1)

o  $DECLARE and $NODECLARE == IMPLICIT NONE

o  Logical Truth: 0 = .false.; non-0 = .true.

o  $ATTRIBUTES EXTERN-variable allocated in another source file

o  $ATTRIBUTES VARYING-variable number of arguments

o  Alternate PARAMETER syntax-no parenthesis

o  $ in identifiers

o  INTERFACE TO-subroutine/function prototype
                                 [global scoping not supported]

o  Option - BLOCKSIZE=-internal buffer size used in I/O

o  Argument Passing Modifiers-%VAL, %REF

o  Argument Passing Modifiers-%DESCR (treated as %REF)

o  CRAY pointer support for procedure names (for COM/OLE
   support)

o  $ATTRIBUTES ALLOCATABLE-allocatable array

o  Mixing Subroutines/Functions in Generic Interfaces

o  $MESSAGE-output message during compilation

o  $LINE == C's #line

o  Listing Metacommands - $TITLE, $SUBTITLE

o  STATIC Attribute-static storage class

o  EOF checks for end of file

o  LOC equivalent to %LOC

o  HFIX converts to short integer

o  INT1 converts to one byte integer by truncating

o  INT2 converts to two byte integer by truncating

o  INT4 converts to four byte integer by truncating

o  JFIX same as INT4

o  MALLOC allocates a memory block of size bytes and returns an
   integer pointer to the block

o  FREE frees the memory block specified by the integer pointer

o  COTAN returns cotangent

o  DCOTAN returns double precision cotangent

o  IMAG returns the imaginary part of complex number

o  IBCHNG reverses value of bit

o  ISHA shifts arithmetically left or right

o  ISHC performs a circular shift

o  ISHL shifts logically left or right

DIGITAL Visual Fortran includes the following features and
enhancements also found on other DIGITAL Fortran platforms:

o  Support for linking against static libraries

o  Support for linking against dynamically linked libraries
   (DLL)

o  Support for creating code to be put into a dynamically
   linked library (DLL)

o  Support for stack-based storage

o  Support for dynamic memory allocation

o  Support for reading and writing binary data files in
   nonnative formats, including IEEE[R] (little-endian and
   big-endian), VAX, IBM[R] System\360, and CRAY[R] integer and
   floating point formats

o  User control over IEEE floating point exception handling,
   reporting, and resulting values.

o  Control for memory boundary alignment of items in COMMON and
   fields in structures and warnings for misaligned data

o  Directives to control listing page titles and subtitles,
   object file identification field, COMMON and record field
   alignment, and some attributes of COMMON blocks

o  Composite data declarations using STRUCTURE, END STRUCTURE,
   and RECORD statements, and access to record components
   through field references

o  Explicit specification of storage allocation units for data
   types such as:

   -  INTEGER*4

   -  LOGICAL*4

   -  REAL*4

   -  REAL*8

   -  COMPLEX*8

o  Support for 64-bit signed integers using INTEGER*8 and
   LOGICAL*8 (on Alpha platforms only)

o  A set of data types:

   -  BYTE

   -  LOGICAL*1, LOGICAL*2, LOGICAL*4

   -  INTEGER*1, INTEGER*2, INTEGER*4

   -  LOGICAL*8 and INTEGER*8 on Alpha platforms only

   -  REAL*4, REAL*8

   -  COMPLEX*8, COMPLEX*16, DOUBLE COMPLEX

   -  POINTER (CRAY style)

o  Data statement style initialization in type declaration
   statements

o  AUTOMATIC and STATIC statements

o  Bit constants to initialize LOGICAL, REAL, and INTEGER
   values and participate in arithmetic and logical expressions

o  Built-in functions %LOC, %REF, and %VAL

o  VOLATILE statement

o  Bit manipulation functions

o  Binary, hexadecimal, and octal constants and Z and O format
   edit descriptors applicable to all data types

o  I/O unit numbers that can be any nonnegative INTEGER*4 value

o  Variable amounts of data can be read from and written to
   "STREAM" files, which contain no record delimiters

o  ENCODE and DECODE statements

o  ACCEPT, TYPE, and REWRITE input/output statements

o  DEFINE FILE, UNLOCK, and DELETE statements

o  USEROPEN subroutine invocation at file OPEN time

o  Debug statements in source

o  Generation of a source listing file with optional machine
   code representation of the executable source

o  Variable format expressions in a FORMAT statement

o  Optional run-time bounds checking of array subscripts and
   character substrings

o  31-character identifiers that can include dollar sign ($)
   and underscore (_)

o  Language elements that support the various extended range
   and extended precision floating point architectural
   features:

   -  32-bit IEEE S_floating data type, with an 8-bit exponent
      and 24-bit mantissa, which provides a range of
      1.17549435E-38 (normalized) to 3.40282347E38 (the IEEE
      denormalized limit is 1.40129846E45) and a precision of
      typically 7 decimal digits

   -  64-bit IEEE T_floating data type, with an 11-bit exponent
      and 53-bit mantissa, which provides a range of
      2.2250738585072013D-308 (normalized) to
      1.7976931348623158D308 (the IEEE denormalized limit is
      4.94065645841246544D-324) and a precision of typically
      15 decimal digits

o  Command line control for:

   -  The size of default INTEGER, REAL, and DOUBLE PRECISION
      data items

   -  The levels and types of optimization to be applied to the
      program

   -  The directories to search for INCLUDE and .MOD files

   -  Inclusion or suppression of various compile-time warnings

   -  Inclusion or suppression of run-time checking for various
      I/O and computational errors

   -  Control over whether compilation terminates after a
      specific number of errors has been found

   -  Choosing whether executing code will be thread-reentrant

o  Kind types for all of the hardware-supported data types:

   -  For 1-, 2-, and 4-byte LOGICAL data:

      *  LOGICAL (KIND=1)
      *  LOGICAL (KIND=2)
      *  LOGICAL (KIND=4)

   -  For 1-, 2-, and 4-byte INTEGER data:

      *  INTEGER (KIND=1)
      *  INTEGER (KIND=2)
      *  INTEGER (KIND=4)

   -  For 8-byte LOGICAL and INTEGER data on Alpha platforms
      only:

      *  LOGICAL (KIND=8)
      *  INTEGER (KIND=8)

   -  For 4- and 8-byte REAL data:

      *  REAL (KIND=4)
      *  REAL (KIND=8)

   -  For single precision and double precision COMPLEX data:

      *  COMPLEX (KIND=4)
      *  COMPLEX (KIND=8)

o  The following features of the proposed Fortran 95 standard:

   -  FORALL statement and construct

   -  Automatic deallocation of ALLOCATABLE arrays

   -  Dim argument to MAXLOC and MINLOC

   -  PURE user-defined subprograms

   -  ELEMENTAL user-defined subprograms (a restricted form of
      a pure procedure)

   -  Pointer initialization (initial value)

   -  The NULL intrinsic to nullify a pointer

   -  Derived-type structure initialization

   -  CPU_TIME intrinsic subroutine

   -  Kind argument to CEILING and FLOOR intrinsics

   -  Nested WHERE constructs, masked ELSEWHERE statement, and
      named WHERE constructs

   -  Comments allowed in namelist input

   -  Generic identifier in END INTERFACE statements

   -  Detection of Obsolescent and/or Deleted features listed
      in the proposed Fortran 95 standard. DIGITAL Fortran
      flags these deleted and obsolescent features, but fully
      supports them.

DIGITAL Visual Fortran provides a multiphase optimizer that is
capable of performing optimizations across entire programs.
Specific optimizations performed include:

o  Constant folding

o  Optimizations of arithmetic IF, logical IF, and block
   IF-THEN-ELSE

o  Global common subexpression elimination

o  Removal of invariant expressions from loops

o  Global allocation of general registers across program units

o  In-line expansion of statement functions and routines

o  Optimization of array addressing in loops

o  Value propagation

o  Deletion of redundant and unreachable code

o  Loop unrolling

o  Thorough dependence analysis

o  Optimized interface to intrinsic functions

o  Array temporary elimination

o  Loop transformation optimizations that apply to array
   references within loops (Alpha only), including:

   -  Loop blocking

   -  Loop distribution

   -  Loop fusion

   -  Loop interchange

   -  Loop scalar replacement

   -  Outer loop unrolling

o  Software Pipelining (Alpha only)


The following features from Microsoft Fortran PowerStation are not
supported by DIGITAL Visual Fortran:

   - Tab continuation lines that start with other than the digits 1
     through 9 {see the FIXMSTAB utility above for a work-around}

   - $DEBUG, $NODEBUG-additional runtime checking

   - DATA statement style initialization in attribute style
     declaration statements

   - Debug lines (other than D)

   - $OPTIMIZE-change optimization options

   - Integer array can contain FORMAT

   - Internal files can be any type

   - Listing metacommands - $page, $pagesize, $linesize, $[no]list,
     $include


Related Products

The third party products listed below provide additional development
capabilities to technical users.  DIGITAL neither warrants nor makes
any functional or performance claims for these products.  
Determination of their suitability in meeting your specific computing
needs is left to the user. 

Related products from Microsoft include:  Visual C++, Visual J++, and
Visual Basic.  For more information on these and other Microsoft
products visit URL http://www.microsoft.com/. 

For converting serial Fortran program to execute in parallel on
multiprocessor Intel Win32 systems there is Visual KAP from Kuck and
Associates, Inc.  For more information on this and related products
from Kuck and Associates, Inc., visit URL http://www.kai.com/. 

Available as part of the DIGITAL Visual Fortran Professional Edition
are the Fortran 77 and Fortran 90 IMSL libraries from Visual
Numerics, Inc.  For more information on these libraries and other
products from Visual Numerics, Inc., visit URL http://www.vni.com/. 


Ordering Information

DIGITAL Visual Fortran is a retail product sold through resellers. 
For information on resellers in the U.S. call 1-800-DIGITAL.  Outside
the U.S. call your local DIGITAL sales office. 


Warranty and Support Options

DIGITAL Visual Fortran 5.0 includes a 90-day warranty which covers
two free support calls on installation related issues.  Additional
support may be purchased at extra cost through Digital Multivendor
Customer Services. 

For more information visit the DIGITAL Fortran web site at
http://www.digital.com/fortran. 

**********************************************************************

[R]  CRAY is a registered trademark of Cray Research, Inc.

[R]  IBM is a registered trademark of International Business
     Machines Corporation.

[R]  IEEE is a registered trademark of the Institute of
     Electrical and Electronics Engineers, Inc.

[R]  IMSL is a registered trademark of Visual Numerics, Inc. 

[R]  KAP is a trademark of Kuck and Associates, Inc. 

[R]  Microsoft, ActiveX, Visual Basic, Visual J++, Visual C++, are
     registered trademarks of Microsoft Corporation in the United
     States and/or other countries. 

[R]  OSF and OSF/1 are registered trademarks of Open Software
     Foundation, Inc.

[R]  UNIX is a registered trademark in the United States and
     other countries licensed exclusively through X/Open
     Company Ltd.

[TM] The DIGITAL Logo, DEC, DEC Fortran, Digital, OpenVMS,
     ULTRIX, and VAX are trademarks of Digital Equipment
     Corporation

[TM] Windows NT, NT, and Windows are trademarks of Microsoft
     Corporation.

(c) 1997 Digital Equipment Corporation. All rights reserved.
