Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
0Activity

Table Of Contents

Syntax Conventions
Platform Labels
Building Programs and Libraries
lOverview of Building Projects
Overview of Building Projects
Defining Your Project
Errors During the Build Process
Compiler Limits
Running Fortran Applications
Copying Projects
Visual Fortran Samples
Using the Compiler and Linker from the Command Line
lOn DF command examples, see Examples of the DF Command Format
Examples of the DF Command Format
Input and Output Files
Environment Variables Used with the DF Command
Specifying Project Types with DF Command Options
Redirecting Command-Line Output to Files
Using the DF Command to Compile and Link
DF Indirect Command File Use
Compiler and Linker Messages
Compiler and Linker Options
Linker Options and Related Information
Microsoft Fortran PowerStation Command-Line Compatibility
Debugging Fortran Programs
Debugging the Squares Example Program
Using Breakpoints in the Debugger
Viewing Fortran Data Types in the Debugger
Using the Array Viewer in the Debugger
To use the Array Viewer in the debugger:
Locating Run-Time Errors in the Debugger
Performance: Making Programs Run Faster
Software Environment and Efficient Compilation
Analyze Program Performance
lData Alignment Considerations
Data Alignment Considerations
Use Arrays Efficiently
Improve Overall I/O Performance
Additional Source Code Guidelines for Run-Time Efficiency
Optimization Levels: the /optimize Option
Other Options Related to Optimization
Compiler Directives Related to Performance
Using QuickWin
Capabilities of QuickWin
Comparing QuickWin with Windows-Based Applications
Using Win32 with QuickWin
Types of QuickWin Programs
The QuickWin User Interface
USE Statement Needed for Fortran QuickWin Applications
Creating QuickWin Windows
Using Graphics and Character-Font Routines
Defining Graphics Characteristics
Displaying Graphics Output
Working With Screen Images
Enhancing QuickWin Applications
Customizing QuickWin Applications
Creating Windows Applications
Coding Requirements for Fortran Windows Applications
Using Menus and Dialogs in SDI and MDI Fortran Windows Applications
Sample Fortran Windows Applications
Getting Help with Windows Programming
Portability and Design Considerations
Choosing Your Development Environment
Selecting a Program Type
Structuring Your Program
Special Design Considerations
Using the Special Features of Microsoft Windows
Using Dialogs
Writing a Dialog Application
Dialog Routines
Dialog Controls
Using Dialog Controls
Using ActiveX Controls
Drawing Graphics Elements
Adding Color
Understanding Coordinate Systems
Advanced Graphics Using OpenGL
Using Fonts from the Graphics Library Page 1 of 5
Using Fonts from the Graphics Library
Using Fonts
SHOWFONT.F90 Example
Using National Language Support Routines
National Language Support Library Routines
Portability Library
Routines for Information Retrieval
lSee Device and Directory Information
Device and Directory Information Routines
Process Control Routines
Numeric Routines
Input and Output With Portability Routines
Date and Time Routines
Error Handling Routines
Miscellaneous String and Sorting Routines
Other Compatibility Routines
Files, Devices, and I/O Hardware
I/O Hardware
Using the Console
Using the Serial Port I/O Routines
Using COM and Automation Objects
lOverview of COM and Automation Objects
Overview of COM and Automation Objects
The Role of the Module Wizard
Using the Module Wizard to Generate Code
Calling the Routines Generated by the Module Wizard
Getting a Pointer to an Object's Interface
Additional Resources about COM and Automation
Creating a COM Server
Advantages of a COM Server
What You Need to Provide and What the Fortran COM Server Wizard Will Do
Using the Fortran COM Server Wizard
lSpecifying the Fortran COM Server as a Developer Studio Add-in
Specifying the Fortran COM Server as a Developer Studio Add-in
Creating a Fortran COM Server Project
Using the Fortran COM Server Wizard to Define your COM Server
Adding a Property
Working with the Hierarchy Pane
Description of Property Pages
Modifying the Generated Code
Build Notes
Visual C++ ClassView
Using Example Clients
Modifying Your COM Servers
Interface Design Considerations
lMethod and Properties Data Types
Method and Properties Data Types
COM Status Codes: HRESULT
Visual Basic and Visual C++ Client Notes
Advanced COM Server Topics
lChoosing Between DLL or EXE COM Servers
Choosing Between DLL or EXE COM Servers
DLL Server Surrogates
Discussion of Wizard Code Generation
Adding Support for COM ErrorInfo Objects
Threading Models
Marshalling, Proxies and Stubs
A Map of the Generated "Do Not Edit" Code
Deploying the Server on Another System
Programming with Mixed Languages
Exchanging and Accessing Data in Mixed- Language Programming
Handling Data Types in Mixed-Language Programming
Visual Fortran/Visual C++ Mixed-Language Programs
Fortran/Visual Basic Mixed-Language Programs
Fortran/MASM Mixed-Language Programs
Creating Multithread Applications
Writing a Multithread Program
Compiling and Linking Multithread Programs
Other Sources of Information
Data Representation
Logical Data Representations
Native IEEE Floating-Point Representations
Character Representation
Hollerith Representation
Handling Run-Time Errors
Methods of Handling Errors
Locating Run-Time Errors
Using Traceback Information
Obtaining Traceback Information with TRACEBACKQQ
Run-Time Environment Variables
The Floating-Point Environment
Loss of Precision Errors: Rounding, Special Values, Underflow, and Overflow
Setting and Retrieving Floating-Point Status and Control Words (ia32 only)
Handling Arithmetic Exceptions
Intel Pentium Floating-Point Flaw (ia32 only)
Advanced Exception and Termination Handling Considerations Page 1 of 24
Advanced Exception and Termination Handling Considerations
Structure of a Visual Fortran Application
When to Provide Your Own Exception/Termination Handler
How to Provide Your Own Exception/Termination Handler
Converting Unformatted Numeric Data
Limitations of Numeric Conversion
Methods of Specifying the Data Format
Environment Variable FORT_CONVERTn Method
Additional Notes on Nonnative Data
Hexadecimal-Binary-Octal-Decimal Conversions
Using the IMSL Mathematical and Statistical Libraries Page 1 of 6
Using the IMSL Mathematical and Statistical Libraries
Using the IMSL Libraries from Visual Fortran
Library Naming Conventions
Using IMSL Libraries in a Mixed-Language Environment
Using the Compaq Extended Math Library (CXML) Page 1 of 3
Using the Compaq Extended Math Library (CXML)
Using CXML from Visual Fortran
Compatibility Information
Compatibility with Microsoft Fortran PowerStation
Using Visual Fortran Tools
Using Tools from the Command Line
Setting Up the Command Console
Fortran Compiler and Linker
MS-DOS Editor
Building Projects with NMAKE
Managing Libraries with LIB
Editing files with EDITBIN
Examining Files with DUMPBIN
Editing Format Descriptors with the Format Editor
Profiling Code from the Command Line
Fortran Tools: FSPLIT and FPR
0 of .
Results for:
No results containing your search query
P. 1
Fortran User Guide

Fortran User Guide

Ratings: (0)|Views: 1|Likes:
Published by Cristiana Stefan

More info:

Published by: Cristiana Stefan on Oct 04, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/04/2013

pdf

text

original

You're Reading a Free Preview
Pages 18 to 25 are not shown in this preview.
You're Reading a Free Preview
Pages 43 to 164 are not shown in this preview.
You're Reading a Free Preview
Pages 182 to 349 are not shown in this preview.
You're Reading a Free Preview
Pages 367 to 809 are not shown in this preview.
You're Reading a Free Preview
Pages 827 to 867 are not shown in this preview.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->