Académique Documents
Professionnel Documents
Culture Documents
Getting Started
Order Number: AA–R2PYC–TH
September 1998
2 Post-Installation Tasks
2.1 Applying the Visual Fortran Per-User Option . . . . . . . . . . . . . . . 2–1
2.2 Copying Visual Fortran Project Files . . . . . . . . . . . . . . . . . . . . . . 2–2
2.3 Changing Installation Options or Reinstalling Visual Fortran . . . 2–2
2.4 Redistributing Visual Fortran Files . . . . . . . . . . . . . . . . . . . . . . . 2–3
2.5 Guidelines for Programs that Use Large Data Arrays . . . . . . . . . 2–5
2.6 Installing Visual Fortran Service Update Kits . . . . . . . . . . . . . . . 2–6
2.7 Removing Visual Fortran Version 6 . . . . . . . . . . . . . . . . . . . . . . . 2–6
2.8 Removing Internet Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–7
2.9 Removing DIGITAL Array Visualizer . . . . . . . . . . . . . . . . . . . . . . 2–8
2.10 Check and Remove Old Environment Variable Definitions . . . . . 2–8
iii
2.11 Removing Visual Fortran Version 5 . . . . . . . . . . . . . . . . . . . . . . . 2–9
3 Product Highlights
3.1 Using the Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–2
3.2 The Fortran 95 Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–3
3.2.1 Array Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–5
3.2.2 Numerical Computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–5
3.2.3 Specifying the Precision of Intrinsic Data Types . . . . . . . . . . 3–5
3.2.4 Derived Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–6
3.2.5 Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
3.2.6 Pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
3.2.7 Language Evolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
3.3 Language Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–8
3.4 Microsoft Visual Development Environment . . . . . . . . . . . . . . . . 3–8
3.4.1 Visual Fortran Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–10
3.4.1.1 Project Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–10
3.4.1.2 Project Configurations and Settings . . . . . . . . . . . . . . . . . 3–11
3.4.2 Customizing the Development Environment . . . . . . . . . . . . . 3–12
3.4.3 Text Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–13
3.4.4 Source Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–14
3.4.5 Resource Editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–14
3.4.6 Integrated Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–15
3.5 Support for COM and Automation Objects: The Module
Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–15
3.6 IMSL Libraries (Professional Edition only) . . . . . . . . . . . . . . . . . 3–16
3.7 Array Visualizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–17
3.8 Using the Command-Line Interface . . . . . . . . . . . . . . . . . . . . . . . 3–18
3.9 Books Online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–19
3.10 Full Mixed-Language Programming Support with Microsoft
Visual C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .... 3–19
3.11 Interoperability with Microsoft Visual Basic . . . . . . . . . . . . .... 3–20
iv
5 Viewing Online HTMLHelp Viewer Documentation
5.1 Starting the HTMLHelp Viewer . . . . . . . . . . . . . . . . . . . . . . . . . . 5–2
5.2 Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–4
5.3 HTMLHelp Viewer Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–4
5.4 Navigating by Jumping to Related Topics . . . . . . . . . . . . . . . . . . 5–5
5.5 F1 Context-Sensitive Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–6
5.6 Locating Topics by Index Keyword . . . . . . . . . . . . . . . . . . . . . . . . 5–7
5.7 Locating Topics by Searching . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–7
5.7.1 Basic Search Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–8
5.7.2 Words, Phrases, and Wildcards . . . . . . . . . . . . . . . . . . . . . . . 5–8
5.8 Using the Favorites Tab for Bookmarks . . . . . . . . . . . . . . . . . . . . 5–9
5.9 Other HTMLHelp Viewer Features . . . . . . . . . . . . . . . . . . . . . . . 5–9
v
Index
Figures
1–1 DIGITAL Visual Fortran Master Setup Window . . ........ 1–10
1–2 DIGITAL Visual Fortran Installation Registration
Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–12
1–3 Setup Install Type Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . 1–13
1–4 Setup Select Folder Dialog Box . . . . . . . . . . . . . . . . . . . . . . . 1–17
1–5 Setup Install Type Dialog Box (Array Visualizer) . . . . . . . . . . 1–20
4–1 Visual Development Environment Windows . . . . . . . . . . . . . . 4–2
4–2 Setting the Initial Breakpoint . . . . . . . . . . . . . . . . . . . . . . . . 4–6
4–3 Starting the Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–7
4–4 Using Step Over in the Debugger . . . . . . . . . . . . . . . . . . . . . 4–8
4–5 Viewing a Variable’s Value . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–9
4–6 New Project Type Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . 4–11
5–1 HTMLHelp Viewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–1
5–2 HTMLHelp Viewer Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . 5–5
Tables
1–1 Visual Fortran Installation Components . . . . . . . . . . . . . . . . 1–14
3–1 Visual Fortran Main Project Types . . . . . . . . . . . . . . . . . . . . 3–10
3–2 IMSL Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–16
6–1 Visual Fortran Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–3
vi
About this Guide
vii
Describes Visual Fortran features, including how to use the product
overview, the DIGITAL Fortran language, the Microsoft visual development
environment, and the major Visual Fortran software components.
• Using the Visual Development Environment (Chapter 4)
Shows how to use the Microsoft visual development environment, including
opening an existing project workspace (Celsius), using the debugger, and
creating a new project.
• Viewing Online HTMLHelp Viewer Documentation (Chapter 5)
Shows how to read, navigate, search, copy, and print the online Visual
Fortran documentation with the Microsoft HTMLHelp viewer.
• Documentation Road Map (Chapter 6)
Describes the printed Visual Fortran documentation included in the kit and
online documentation titles.
• Visual Fortran Technical Support (Chapter 7)
Describes the warranty support and optional technical support options
available for the Visual Fortran product.
Associated Documentation
In addition to this guide, the Visual Fortran documentation (see Chapter 6)
includes the following:
• The printed DIGITAL Fortran Language Reference Manual
• Online Visual Fortran documentation, located under the ‘‘DIGITAL Visual
Fortran’’ folder in HTMLHelp Viewer, includes the Programmer’s Guide,
Language Reference, Error Messages, and the Visual C++ User’s Guide (see
Chapter 6).
viii
1
Installing Visual Fortran
This chapter lists the system requirements for installing Visual Fortran
Version 6.0 and provides instructions on how to install the product. It includes
the following topics:
• Registration (Section 1.1)
• System Requirements and Optional Software (Section 1.2)
• Visual Fortran Installation with Visual Studio Products (Section 1.3)
• Visual Fortran Installation with Visual Fortran Version 5 (Section 1.4)
• Installing Visual Fortran and Related Software (Section 1.5)
• Starting and Quitting the Visual Development Environment (Section 1.6)
1.1 Registration
Your kit’s Visual Fortran folder contains the Visual Fortran CD–ROM disk and
a registration card. Your registration number is located on both parts of the
registration card.
Note
Keep your registration card in a safe place, since it contains your
registration number.
• A CD–ROM drive to install Visual Fortran. Your system should have 32-bit
CD–ROM drivers installed.
• A hard disk with enough disk space to install the options you need:
The setup program lets you select installation options and provides you
with the disk space requirements for the options you select. It then checks
to make sure you have enough space before copying files.
• A VGA monitor (17-inch SVGA monitor recommended).
• A mouse or compatible pointing device.
• To view the online documentation in HTMLHelp Viewer, you need to install
a certain release of Internet Explorer Version 4. The correct (minimum)
release of Internet Explorer Version 4 is provided on the Visual Fortran
CD–ROM.
• On a Windows NT system, installation of Visual Fortran and related
software must be performed from an Administrator account.
Note
For more information on operating system versions, see the Visual
Fortran release notes (RELNOTES.TXT file installed in the ...\Df98
directory). Before installation, you can read the release notes by
opening the RELNOTES.TXT file located in the root directory of the
Visual Fortran CD–ROM (or use the DIGITAL Visual Fortran Master
Setup window, described in Section 1.5.1.1).
You can extend the capabilities of Visual Fortran by using it with the following
software products:
• Visual KAP™ for preprocessing your Visual Fortran source code for
performance reasons, and for parallel execution. Visual KAP is available
from Kuck & Associates, Inc. (http://www.kai.com or kai@kai.com).
• IMSL™ Libraries for Visual Fortran, which include the IMSL FORTRAN
77 Mathematical and Statistical Libraries and the Fortran 90 MP Library.
These IMSL Libraries are provided with the Professional Edition of Visual
Fortran.
For more information about IMSL, see Section 3.6.
The Master Setup Window allows you to select one of the following options:
• Install Visual Fortran
Click this selection box to begin installing DIGITAL Visual Fortran.
The Setup procedure displays the Visual Fortran Setup Welcome dialog box
(go to Section 1.5.1.3).
• View Release Notes
Click this selection box to view the Visual Fortran release notes (ASCII
file). The release notes file (file type TXT) is usually displayed in the
Notepad or Wordpad editor. After installation, you can read the release
notes by using the Visual Fortran program folder or by viewing the file
RELNOTES.TXT in the ...\Df98 directory.
• Exit
Click this selection box to exit the DIGITAL Visual Fortran Master Setup
Window.
Type your name and your company’s name. Carefully type your registration
number into the four fields displayed. Your registration number is on the
warranty registration card (see Section 1.1).
If you purchased a product upgrade kit (such as to upgrade Visual Fortran
between major versions), the installation procedure may ask for both the
old and the new registration numbers.
As you type the number, the cursor moves to the next field. If you need to
make a correction, you can move the cursor to a different field:
• To return to a previous field, either click on that field or press the
Shift+Tab keys (hold down Shift and press tab).
• To advance to the next field, either click on the field or press the Tab
key.
As in other installation dialog boxes, you can click on one of the following
buttons:
This dialog box allows you to specify target directories and the following
installation options:
• The Destination Directories box (lower part of screen) shows the default
destination directories.
If you are installing a new version of Visual Fortran, the default
directories will be placed on your system disk (shown below as C:), as
follows:
C:\Program Files\Microsoft Visual Studio\Common
C:\Program Files\Microsoft Visual Studio\Df98
C:\Program Files\Microsoft Visual Studio\VC98
Note
When you click the Next> button in reply to the Select Folder dialog
box, installation begins.
The Setup Install Type dialog box allows you to specify the type of
DIGITAL Array Visualizer installation and the target directories.
• Typical, includes all components with the exception of Array Visualizer
Samples.
• Run-Time Only, includes only run-time components, which includes the
Array Viewer.
• Complete, includes all components, including Array Visualizer
Samples.
With the Visual Fortran Standard Edition, only the Run-Time Only
installation type is available.
Specify the Destination Directory or click the Browse button to specify the
correct directory location. The default location is:
C:\Program Files\ArrayVisualizer
If you are installing the Array Visualizer on a dual-boot system (such as
Windows 98 and Windows NT), you need to specify different directories
(or disks) for the installation of Array Visualizer under each two operating
system.
Note
Before you install Visual Fortran on a system where an installed
product uses a different version of the Microsoft visual development
environment, Visual Studio, or Developer Studio (such as Microsoft
Fortran PowerStation), see Section 1.3.
For more information on compatible versions of Visual Studio products,
see the RELNOTES.TXT file (see Section 1.5.1.1).
If you need to use language products that use a different version of the visual
development environment (or a different development environment) than
Visual Fortran, you cannot use the same visual development environment to
build all parts of the mixed-language application.
Note
If you have other Visual tools installed when you remove Visual
Fortran Version 5, they may need to be reinstalled to replace files
removed by Visual Fortran.
After you remove Visual Fortran, you may also need to perform the following
actions:
• Check and remove old environment variable definitions (Section 2.10)
Note
If you have other Visual Studio Version 5 tools installed when you
remove Visual Fortran Version 5, they may need to be reinstalled.
After removing Visual Fortran Version 5, you should check and remove old
environment variable definitions (see Section 2.10).
If you installed Visual Fortran Version 5 multiple times without removing
Visual Fortran Version 5 before an installation, you can use the uninst
command to complete the removal of additional Visual Fortran files. This extra
step is no longer needed for Version 6 installations.
For example, if you originally did a Typical installation and added some
Visual Fortran Version 5 components with a Custom installation, there will be
multiple DeIsLn.isu files in the Visual Fortran installation folder, where n is
an integer value.
If you are using a dual-boot system, before using the following procedure, use
the Control Panel Add/Remove program procedure on both operating systems
to remove Visual Fortran registry entries and most of the files.
To remove additional Visual Fortran Version 5 files and delete the specified
DeIsLn.isu file:
• On a Windows NT system, log into an account with Administrator
privilege.
• Locate the correct DeIsLn.isu file in \Program Files\DevStudio\DF.
Note
Do not type uninstal; type the command as uninst.
From a command window or the Run prompt, type the following uninst
command, replacing C with the actual device letter,
\Program Files\DevStudio with the actual directory path, and n with the
highest number of the DeIsLn.isu file:
uninst -f"C:\Program Files\DevStudio\DeIsLn.isu"
You must enclose the drive letter, path, and file name within quotation
marks. If there are multiple DeIsLn.isu files, use the greatest value of n
first.
Repeat the uninst command multiple times for each DeIsLn.isu file,
always using the DeIsLn.isu file with the greatest value of n on the
command line.
If you remove Visual Fortran Version 5 after you install Version 6, you need
to reinstall Visual Fortran Version 6 with the same options as the current
installation to reset the registry entries that are removed when you remove
Visual Fortran Version 5.
Visual Fortran has many features that let you develop programs that use the
latest improvements to the Fortran language; features that make development
easy and efficient; and features that make your applications rich and robust.
Visual Fortran generates 32-bit applications for all project types. It does not
generate 16-bit applications.
This chapter includes the following topics:
• Using the Product Overview, which introduces you to major Visual Fortran
features using an animated presentation (Section 3.1)
• The Fortran 95 Language (Section 3.2)
• Language Extensions (Section 3.3)
• Microsoft Visual Development Environment (Section 3.4)
• Support for COM and Automation Objects: The Module Wizard
(Section 3.5)
• IMSL Libraries (Professional Edition only) (Section 3.6)
• Array Visualizer (Section 3.7)
• Using the Command-Line Interface (Section 3.8)
• Books Online (Section 3.9)
• Full Mixed-Language Programming Support with Microsoft Visual C++
(Section 3.10)
• Interoperability with Microsoft Visual Basic (Section 3.11)
3.2.6 Pointers
Pointers let you define, access, and release memory dynamically. With pointers,
arrays can be sized dynamically, taking no more storage than they need. The
dynamic array storage can be released when an operation is finished. Pointers
let you link data structures to create lists, trees, and graphs.
An object of any intrinsic or derived type can be declared to have the pointer
attribute. After this kind of object becomes associated with a target, it can be
used almost anywhere that a nonpointer object can be used, if both have the
same type, type parameters, and shape.
Note
If you prefer to work from the command line, see Section 3.8.
On the Visual Fortran media CD-ROM, Samples are located in folders under
info\Df\Samples. If you did not install Samples, you can copy appropriate
Samples folders to your hard disk. After a Custom installation, the Samples
are installed in folders under ...\Microsoft Visual Studio\Df98\Samples.
You can convert a Fortran Console or Standard Graphics application to a
QuickWin application by creating the QuickWin project as a new project,
setting the same Project settings, and adding files to the QuickWin project.
3.4.1.2 Project Configurations and Settings
Each project can specify multiple configurations to build from its source files.
A configuration specifies such things as the type of application to build and
the tool settings to use when building. Each project by default has a debug
and release configuration. By including multiple configurations in your project,
you can extend its scope but still maintain a consistent source code base from
which to work.
To specify the current configuration, from the Build menu select Set
Active Configuration. When you build your project, the currently selected
configuration is built.
Within a project, you can create groups or folders that contain related files.
FileView displays the folders and files contained in the project as a graph so
you can quickly see the relationships among files.
From the Project menu, select Settings to specify tool settings for the entire
project, for certain configurations, or for certain files. For instance, you can
specify certain kinds of compiler optimizations for your project in general, but
turn them off for certain configurations or certain files.
The IMSL libraries also include certain Fortran source and module files, an
online help file, an online readme file, numerous samples, and other files.
To specify exactly which IMSL components get installed, perform a Custom
installation (see Section 1.5).
For more information about IMSL, see:
• The IMSL online help and readme file provided in the Visual Fortran
program folder.
• The online IMSL Acrobat® PDF files (equivalent to the IMSL online help)
provided as a jump from the Visual Fortran Home Page in HTMLHelp
Viewer.
• The section "Using the IMSL Mathematical and Statistical Libraries" in
the Programmers Guide in HTMLHelp Viewer.
• The following Internet URL: http://www.vni.com (Product information).
After you install Visual Fortran on your system, start the visual development
environment by performing the following steps:
1. From the Start menu, select Programs.
2. Select Visual Fortran to display the items installed by Setup.
3. Select Developer Studio.
This chapter provides an introduction to the Microsoft visual development
environment. It provides the following sections:
• Visual Development Environment Windows (Section 4.1)
• Building an Existing Visual Fortran Project (Celsius) (Section 4.2)
• Editing and Debugging CELSIUS.FOR (Section 4.3)
• Creating a New Project (Section 4.4)
The left pane contains a FileView tab and may contain a ClassView or
ResourceView tab:
• FileView—shows each project and their files associated with the Workspace.
• ClassView—appears only if Visual C++ is installed. ClassView is not used
by Visual Fortran (used by Visual C++ for mixed-language programming).
• ResourceView—appears if the Workspace uses Resources (such as dialogs
and icons).
After you open a Workspace, the FileView tab shows the files associated with
that Workspace. In the FileView pane of Figure 4–1, there are two files:
calendar.f90 and calnmod.f90.
In Figure 4–1, calnmod.f90 defines a Fortran 90 module file (a post-compiled
binary file with an extension of .mod) that is used by calendar.f90. Because
calendar.f90 is dependent on the calnmod.mod file being present, it is listed as
under External Dependencies.
In the right pane of Figure 4–1, the file calendar.f90 is shown in the default
language-sensitive visual development environment editor, which uses different
colors to identify source comments (green), Fortran standard language
elements (blue), and other language text (black). To edit a file listed on the
The red bullet in the left margin of the text editor/debugger window shows
where a breakpoint is set.
Since the file Celsius.for is a fixed-form source file, the text editor shows
where column 6 is.
5. Repeat the Step Over action (use the Debug toolbar). Follow program
execution into the DO loop, and so on until you are at the end of the
program.
Position the cursor over the variable Celsius to view the current value
(called Data Tip), as shown in Figure 4–5.
6. If you need to build the program again, click on the Stop debugging item in
the Debug menu.
7. When you complete working with the project, click the Close Workspace
item in the File menu.
Here are try some additional features of the debugger you can try when it is
active:
To Do This: Click:
Display the Local In the View menu, click the Debug Windows, Variables item.
Variables window Click the Locals tab.
Display the Watch In the View menu, click the Debug Windows, Watch window
window item.
Display a value in the Select a variable name in the text editor window, drag it, and
Watch window drop it into the Watch window.
In the Debug menu, click the Stop Debugging item to stop the debugger.
For more information, see the Debugger chapter in the Visual Fortran
Programmers Guide.
3. The Projects tab displays various project types (see Figure 4–6). You need
to:
• Type the project name (required).
• Specify the location or accept the default location.
• Click the type of Fortran project to be created. If you have any other
Visual tools installed, make sure you select a Fortran project type (see
Section 3.4.1.1).
• In this case, click the Create New Workspace button to create a
new Workspace. If you were adding multiple projects to the same
workspace, however, this button should be disabled after you create the
first project.
4. Click OK when you have entered the information.
5. Depending on the project type selected, one or more dialog boxes appear,
requesting additional information about the project. For example, one
dialog box gives you the option of creating only the project files with no
source files (empty project) or a project with a source file that contains a
template for that project type.
If a saved Fortran environment exists for the Fortran project type being
created, you can also import that Fortran environment to provide default
project settings for the new project.
Figure 5–1 shows the HTMLHelp toolbar and two window areas:
• The left window area shows the contents of the titles. It has tabs for the
Contents pane, the Index pane, and the full-text Search pane.
The buttons and boxes in the HTMLHelp Viewer Toolbar are as follows:
Most of functions performed by the HTMLHelp Viewer toolbar buttons are also
available as menu items in the Go menu.
This chapter:
• Explains how the Visual Fortran printed hardcopy documentation and
Books Online are organized. Books Online documentation is available
when you are using the HTMLHelp Viewer. It explains the various
information resources, including:
Getting Started (Section 6.1)
Language Reference Manual (Section 6.2)
Samples (Section 6.3)
• Describes the online HTMLHelp Viewer Documentation (see Section 6.4).
This online documentation appears under the ‘‘DIGITAL Visual Fortran’’
folder in HTMLHelp Viewer.
• Lists certain commonly requested topics and where they are described in
the Visual Fortran documentation (Section 6.5)
• Helps you locate books about Fortran 90 programming (Section 6.6)
For information about using the Visual Fortran Product Overview, see
Section 3.1.
6.3 Samples
You can view and copy the source code samples for use with your own projects.
Use a text editor to view the sample programs (Samples); they are not listed as
topics in HTMLHelp Viewer.
Visual Fortran includes various Samples, installed in the subdirectories below:
...\Df98\Samples
To install the Samples during installation, choose a Custom installation and
click (set) the Samples Programs check box.
If you do not install Samples, you can copy the Samples folders or files from
the Visual Fortran CD–ROM to your hard disk.
For a description (roadmap) of the Samples, open the file Samples.htm in a
Web browser (use File menu, Open).
Table 6–1 shows where to locate Samples.htm and the Samples on the Visual
Fortran CD–ROM (at any time) or on your hard disk (after installation):
In the United States and Canada, Visual Fortran includes limited warranty
support with a maximum of two call events related to installation within the
90-day warranty period.
If you purchased the Professional Edition and have questions related to
installation of the IMSL libraries (described in Section 3.6), you should first
contact DIGITAL technical support. For other questions about the use of IMSL
library routines, contact Visual Numerics, Inc.
In the United States and Canada, the Visual Fortran support number is
printed on your warranty card. In other countries, contact your local DIGITAL
office.
For information about Visual Fortran, including availability of new releases
and the location of service update kits, you can access the DIGITAL Fortran
home page with a Web browser at the following Internet URL:
http://www.digital.com/fortran/
To view the list of frequently asked questions, access:
http://www.digital.com/fortran/dvf-faq.html
The type of technical support services available from DIGITAL depends on the
country that you live in. Contact your local DIGITAL office for information
about the type of support services available in your country.
In certain geographic regions, for example, you can purchase the following
types of technical support contracts from DIGITAL:
• Help Desk Support
• Software Telephone Support
A B
Account requirements Books online, 3–19
for installing on Windows NT systems, Breakpoint
1–7 setting in debugger, 4–6
Adding components Browser (source), 3–14
Visual Fortran, 2–2 Building
Adding files to a project, 4–10 Celsius project, 4–5
Alpha systems existing project, 4–5
See Professional Edition new project, 4–10
system requirements, 1–2
Array operations (Fortran 90), 3–5
Array Viewer C
description, 3–17 CD–ROM
obtaining for Array Visualizer running Visual Fortran from, 1–21
applications, 2–3 Celsius project
Array Visualizer building and running, 4–4
description, 3–17 opening project workspace, 4–4
installing, 1–18 ClassView pane (Visual C++), 4–2
online documentation, 6–3 COM objects
redistributing files, 2–3 Fortran Module Wizard, 3–15
removing, 2–8 Command-line interface, 3–18
Sample programs, 6–2 Command-line window
system requirements in Visual Fortran program folder, 3–18
See Professional Edition, system Comments about documentation
requirements sending to DIGITAL, viii
Array Visualizer (online title), 6–6 Compiler, 3–3
Automation objects Components
Fortran Module Wizard, 3–15 adding Visual Fortran, 2–2
Autorun utility choosing Array Visualizer, 1–19
when displayed, 1–7 choosing Visual Fortran, 1–14
visual development environment, 3–8
Index–1
Configurations Developer Studio
default types created, 3–11 See Visual development environment
minimum DF command, 3–18
See System requirements DFVARS.BAT file, 3–18
specifying in visual development installation prompt, 1–18
environment, 3–11 Dialog boxes
Console application project, 3–10 displayed during Array Visualizer
Contents window, HTMLHelp Viewer, 5–4 installation, 1–19
Context-sensitive help, 5–6 displayed during Visual Fortran
Creating a new project installation, 1–11
adding files to, 4–10 DIGITAL Array Visualizer
building, 4–10 See Array Visualizer
running, 4–12 DIGITAL Fortran for OpenVMS systems
workspace for, 4–10 source compatibility, 3–3, 3–8
Custom installation DIGITAL Fortran for UNIX systems
Custom Options Selection dialog box, source compatibility, 3–3, 3–8
1–14
DIGITAL Visual Fortran
Platform SDK online documentation, 6–6
See Visual Fortran
Samples, 6–2
DLLs
Custom Options Selection dialog box, 1–14
redistributing, 2–3
Customizing
Documentation
visual development environment, 3–12
full-text search, 5–7 to 5–9
Getting Started, 6–1
D IMSL Libraries, 3–16
Data types, intrinsic Language Reference Manual, 6–2
specifying precision, 3–5 locating in HTMLHelp Viewer, 5–4
Debugger online, 3–19
activating, 4–7 online titles, 6–3
features, 3–15 Platform SDK (online title), 6–3
problems viewing Fortran data, 2–1 release notes, 1–9
setting breakpoints, 4–5 searching by index keyword, 5–7
setting initial breakpoint, 4–6 searching online, 5–7 to 5–9
step over function, 4–7 sending comments to DIGITAL, viii
use with text editor, 4–5 summary of topics and locations, 6–7
viewing variable values, 4–5 viewing online
watch window, 4–9 contents, 5–4
Default project configuration, 3–10, 4–4 context-sensitive help, 5–6
jumping, 5–5
Deinstalling
titles, 6–3
See Removing viewing online HTMLHelp, 5–1
Derived data types (Fortran 90), 3–6 visual development environment (online
Destination directories, installation, 1–13, titles), 6–3
1–19
Index–2
Dual-boot systems Fortran QuickWin application project, 3–10
considerations for removing Visual Fortran standard graphics application
Fortran Version 5, 2–10 project, 3–10
installation considerations, 1–13, 1–19 Frequently Asked Questions (FAQ), 7–1
Dynamic-linked library project, 3–10 Full-text search (HTMLHelp Viewer), 5–7
rules and options, 5–8 to 5–9
E
Editor (text), 3–13 G
Environment variables Getting Started (online title), 6–5
See also DFVARS.BAT file Getting Started (printed version), 6–1
checking definitions, 2–8
installation dialog box, 1–18
installation option, 1–18
H
Error Messages (online title), 6–5 Home page
Example programs Visual Fortran, 7–1
HTMLHelp Viewer, 5–1 to 5–10
See Samples
accessing Internet Explorer options, 5–9
Excel, 1–4
contents window, 5–4
context-sensitive help, 5–6
F F1 key, 5–6
F1 key, 5–6 full text search, 5–7
FileView pane, 4–2 jumping to related topics, 5–5
FileView pane, visual development locating text on current page, 5–9
environment, 3–10, 4–4, 6–2 Problems displaying correct contents, 5–2
Fortran 90 language, 3–3 to 3–7 searching by index keyword, 5–7
Starting, 5–2
See also Visual Fortran
Switching the current collection, 5–2
color in text editor, 3–13
toolbar, 5–4
compared to FORTRAN 77, 3–3
Troubleshooting, 5–2
full Fortran 95 support, 3–8
using bookmarks (favorites), 5–9
third-party books, 6–8
Fortran 95 language, 3–3 to 3–7
compared to FORTRAN 77, 3–3 I
language extensions, 3–8 IMSL Libraries, 1–4
source compatibility, 3–8 description, 3–16
Visual Fortran extensions, 3–8 environment variables, 1–18
Fortran console application project, 3–10
InfoViewer
Fortran DLLs
See HTMLHelp Viewer
redistributing, 2–3
Installing
Fortran PowerStation
Array Visualizer, 1–18
command line compatibility, 3–18
Autorun utility, 1–18
installing with Visual Fortran, 1–5, 1–22
choosing Visual Fortran components,
source compatibility, 3–3, 3–8
1–19
default directory location, 1–19
Index–3
Installing Internet Explorer (cont’d)
Array Visualizer (cont’d) version of, 1–11
destination directories, 1–19
dual-boot systems considerations,
1–19
K
Registration dialog box, 1–19 KAP performance preprocessor, 1–4
Select Folder dialog box, 1–21
Setup Install Type dialog box, 1–19 L
Setup program, 1–18
type of installation, 1–19 Language
Welcome dialog box, 1–19 extensions, 3–8
Windows NT account requirement, features, 3–3
1–18 standards, 3–3
Microsoft Internet Explorer, 1–11 Language Reference (online title), 6–4
Visual Fortran, 1–7 to 1–23 Language Reference Manual (printed
adding components, 2–2 version), 6–2
Autorun utility, 1–7 Large data arrays
choosing Visual Fortran components, guidelines, 2–5
1–14 License terms dialog box, 1–11
default directory location, 1–13 Linker, 3–8
destination directories, 1–13
dual-boot systems considerations, M
1–13
Master Setup Window, 1–9 Master Setup Window, 1–9
Registration dialog box, 1–11 Microsoft Basic
reinstalling, 2–2 use with Visual Fortran, 3–20
Select Folder dialog box, 1–16 Microsoft Excel, 1–4
Setup Install Type dialog box, 1–13 Microsoft Fortran PowerStation
Setup program, 1–7 command line compatibility, 3–18
system requirements, 1–2 installing with Visual Fortran, 1–5, 1–22
type of installation, 1–13 source compatibility, 3–3, 3–8
Welcome dialog box, 1–11 Microsoft SourceSafe, 1–4
Windows NT account requirement, Microsoft Visual Basic, 1–4
1–7 installing with Visual Fortran, 1–5
with other Visual Studio products, use with Visual Fortran, 1–22
1–5, 1–22 Microsoft Visual C++, 1–4
with Visual Fortran Version 5, 1–6 installing with Visual Fortran, 1–5
Internet use with Visual Fortran, 1–22, 3–19
registering Visual Fortran, 1–1 Mixed-language programming, 1–22, 3–19
Visual Fortran home page, 7–1 Module Wizard, 3–15
Internet Explorer Modules (Fortran 90), 3–7
accessing options within HTMLHelp MSDN
Viewer, 5–9 Switching collections for HTMLHelp
installing, 1–11 Viewer, 5–2
removing, 2–7
Index–4
Per-user setup option, 2–1
Platform SDK (online title), 6–6
N Pointers
Numeric computation (Fortran 90), 3–5 Fortran 90, 3–7
integer, 3–8
O Post-installation tasks, 2–1 to 2–11
Problems
OLE guidelines for reporting, 7–3
See Module Wizard Product overview, 3–2, 6–6
Online documentation Professional Edition
See also Documentation Array Visualizer, 3–17
Array Viewer, 3–17, 6–6 IMSL Libraries, 3–16
Array Visualizer, 3–17, 6–6 environment variables, 1–18
contents window, 5–4 system requirements, 1–2
context-sensitive help, 5–6 Programmer’s Guide (online title), 6–5
DIGITAL Visual Fortran folder, 5–4 Programs
Error Messages, 6–5
See also Projects
for visual development environment, 6–6
building Celsius project, 4–4
full-text search, 5–7
building from the command line, 3–18
Getting Started, 6–5
building from visual development
HTMLHelp Viewer toolbar, 5–4
environment, 4–4
IMSL Libraries, 3–16
Project workspace
jumping to related topics, 5–5
creating new, 4–10
Language Reference, 6–4
for Samples, 6–2
locating in HTMLHelp Viewer, 5–4
opening existing, 4–4
Platform SDK, 6–6
Projects, 3–10 to 3–12, 4–4 to 4–12
Product overview, 6–6
adding files to, 4–10
Programmer’s Guide, 6–5
building, 4–4, 4–10
release notes, 1–9
configurations, 3–11
searching by index keywords, 5–7
contents of, 3–10, 4–4
summary of topics and locations, 6–7
converting between Version 5 and Version
viewing with HTMLHelp Viewer, 5–1
6, 2–2
Visual Fortran titles, 6–3
converting to Version 6, 2–2
Opening
creating new, 4–10
Celsius project workspace, 4–4
default configuration, 3–10, 4–4
new project workspace, 4–10
existing, 4–4
Output pane, 4–2
FileView pane, 3–10, 4–4, 6–2
Samples, 3–10, 4–4
P Samples with project workspace files, 6–2
settings, 3–11
PC requirements
types, 3–10
Professional Edition, 1–2
using Celsius, 4–4
Standard Edition, 1–2
Index–5
Running
existing project, 4–5
Q new project, 4–10
QuickWin application project, 3–10
QuickWin help file
redistributing, 2–3 S
Quitting the visual development Samples
environment, 1–23 debugging the sample Celsius project,
4–5
description, 6–2
R editing the sample Celsius project, 4–5
Redistributing files, 2–3 for project types, 3–10
Registering Visual Fortran, 1–1 online overview (Samples.htm), 6–2
Registration using the sample Celsius project, 4–4
dialog box, 1–11 with project workspace files, 6–2
number Search (HTMLHelp Viewer)
requested during Array Visualizer full text rules and options, 5–8 to 5–9
installation, 1–19 full text search, 5–7
requested during Visual Fortran index keyword, 5–7
installation, 1–11 Select Folder dialog box, 1–16
when needed, 1–1 Settings
where it is located, 1–1 for projects, 3–11
using Internet, 1–1 Setup Install Type dialog box
using registration card, 1–1 Array Visualizer installation, 1–19
Reinstalling Visual Fortran, 2–2 Visual Fortran installation, 1–13
Release notes Source browser, 3–14
viewing, 1–9 Source compatibility, 3–3
Removing language extensions, 3–8
Array Visualizer, 2–8 SourceSafe, 1–4
Microsoft Internet Explorer, 2–7 Standard Edition
Visual Fortran Version 5, 2–9 system requirements, 1–2
checking environment variable Standard graphics application project, 3–10
definitions, 2–8 Standards
consideration for dual-boot systems, Visual Fortran language, 3–3
2–10 Starting the visual development
Visual Fortran Version 6, 2–6 environment, 1–23
checking environment variable Static library project, 3–10
definitions, 2–8 Support
Resource editors, 3–14
See Technical support
Run from CD–ROM option
System requirements
and Autorun utility, 1–8
Array Visualizer (Professional Edition),
installing, 1–15
1–2
use, 1–21
Professional Edition, 1–2
Standard Edition, 1–2
Index–6
System routines (online title), 6–6 Visual development environment (cont’d)
linker, 3–8
online documentation, 6–1
T opening an existing project, 4–4
Technical support, 7–1 to 7–3 project settings, 3–11
features, 7–2 projects, 3–10, 4–4
guidelines for reporting problems, 7–3 quitting, 1–23
types of, 7–2 resource editors, 3–14
Text editor, 3–13 source browser, 3–14
Toolbar starting, 1–23
HTMLHelp Viewer, 5–4 starting HTMLHelp Viewer, 5–2
Tutorial on visual development environment text editor, 3–13, 4–2, 4–5
and Visual Fortran, 3–2 tutorial, 3–2
Typical installation, 1–14 types of windows, 4–2
installing additional components, 2–2 viewing HTMLHelp online documentation,
5–1
viewing HTMLHelp Viewer contents, 5–4
U workspaces, 3–10, 4–4
User interface Visual Fortran
resource editors, 3–14 Array Visualizer, 3–17
Autorun utility, 1–7
Books online, 3–19
V command-line interface, 3–18
Visual Basic, 1–4 compiler and standards, 3–3
installing with Visual Fortran, 1–5 documentation, 6–1
use with Visual Fortran, 1–22, 3–20 documentation topics, 6–7
Visual C++, 1–4 Fortran 95 support, 3–8
installing with Visual Fortran, 1–5 frequently asked questions page, 7–1
use with Visual Fortran, 1–22, 3–19 Getting Started, 6–1
Visual C++ User’s Guide (online title), 6–6 guidelines for programs using large data
Visual development environment, 3–8 to arrays, 2–5, 2–6
3–15 home page, 7–1
accessing context-sensitive help, 5–6 IMSL Libraries, 3–16
building Celsius project, 4–4 installing, 1–7 to 1–23
components, 3–8 installing with Version 5, 1–6
configurations, 3–11 language extensions, 3–8
creating a new project, 4–10 language features, 3–3 to 3–7
customizing, 3–12 Language Reference Manual, 6–2
debugger, 4–5 mixed-language programming, 1–22,
documentation topics, 6–7 3–19
features, 3–8 to 3–20 Module Wizard, 3–15
FileView pane, 4–4, 6–2 online documentation, 3–19, 6–3
HTMLHelp Viewer, 3–19 to 5–10 online documentation in HTMLHelp
integrated debugger, 3–15 Viewer, 5–4
jumping to related topics in HTMLHelp per-user setup option, 2–1
Viewer, 5–5
Index–7
Visual Fortran (cont’d) Workspaces (cont’d)
post-installation tasks, 2–1 to 2–11 for Samples, 6–2
product features, 3–1 to 3–20 project, 3–10, 4–4
product overview, 3–2
project files, 2–2
redistributing files, 2–3
X
registering, 1–1 x86 systems
reinstalling, 2–2 system requirements, 1–2
related software, 1–2
removing old versions, 2–6, 2–9
removing Version 5, 2–9
removing Version 6, 2–6
running from CD–ROM, 1–13, 1–21
Sample programs, 3–10, 6–2
source compatibility, 3–8
starting the visual development
environment, 1–23
technical support, 7–1
tutorial on visual development
environment, 3–2
viewing release notes, 1–9
warranty support, 7–1
Visual Studio
installing with Visual Fortran, 1–5
W
Warranty support, 7–1
Welcome dialog box, 1–11
Win32 (Windows) application project, 3–10
Windows
in visual development environment
workspace, 4–2
Windows 95
system requirements, 1–2
Windows 98
system requirements, 1–2
Windows NT
installation account requirements, 1–7
minimum version requirement, 1–2
system requirements, 1–2
Workspaces
Celsius, 4–4
customizing visual development
environment, 3–12
files in FileView pane, 4–2
Index–8