Absoft Pro Fortran User Guide
Total Page:16
File Type:pdf, Size:1020Kb
Pro Fortran Windows™ User Guide For 32-bit and 64-bit Windows Pro Fortran Windows™ User Guide For 32-bit and 64-bit Windows 2111 Cass Lake Road, Suite 102 Troy, MI 48084 U.S.A. Tel (248) 220-1190 Fax (248) 220-1194 [email protected] All rights reserved. No part of this publication may be reproduced or used in any form by any means, without the prior written permission of Absoft Corporation. THE INFORMATION CONTAINED IN THIS PUBLICATION IS BELIEVED TO BE ACCURATE AND RELIABLE. HOWEVER, ABSOFT CORPORATION MAKES NO REPRESENTATION OF WARRANTIES WITH RESPECT TO THE PROGRAM MATERIAL DESCRIBED HEREIN AND SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. FURTHER, ABSOFT RESERVES THE RIGHT TO REVISE THE PROGRAM MATERIAL AND MAKE CHANGES THEREIN FROM TIME TO TIME WITHOUT OBLIGATION TO NOTIFY THE PURCHASER OF THE REVISION OR CHANGES. IN NO EVENT SHALL ABSOFT BE LIABLE FOR ANY INCIDENTAL, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE PURCHASER'S USE OF THE PROGRAM MATERIAL. U.S. GOVERNMENT RESTRICTED RIGHTS — The software and documentation are provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by the Government is subject to restrictions set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at 252.227-7013. The contractor is Absoft Corporation, 2111 Cass Lake Rd, Suite 102, Keego Harbr, Michigan 48320. ABSOFT CORPORATION AND ITS LICENSOR(S) MAKE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE SOFTWARE. ABSOFT AND ITS LICENSOR(S) DO NOT WARRANT, GUARANTEE OR MAKE ANY REPRESENTATIONS REGARDING THE USE OR THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY YOU. THE EXCLUSION OF IMPLIED WARRANTIES IS NOT PERMITTED BY SOME STATES. THE ABOVE EXCLUSION MAY NOT APPLY TO YOU. IN NO EVENT WILL ABSOFT, ITS DIRECTORS, OFFICERS, EMPLOYEES OR LICENSOR(S) BE LIABLE TO YOU FOR ANY CONSEQUENTIAL, INCIDENTAL OR INDIRECT DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND THE LIKE) ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE EVEN IF ABSOFT HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU. Absoft and its licensor(s) liability to you for actual damages for any cause whatsoever, and regardless of the form of the action (whether in contract, tort, (including negligence), product liability or otherwise), will be limited to $50. Absoft, the Absoft logo, Fx, Fx2, Fx3, Pro Fortran, CLM, and MacFortran are trademarks of Absoft Corporation Apple, the Apple logo, Velocity Engine, OS 9, and OS X are registered trademarks of Apple Computer, Inc. AMD64 and Opteron are trademarks of AMD Corporation CF90 is a trademark of Cray Research, Inc. IBM, MVS, RS/6000, XL Fortran, and XL C/C++ are trademarks of IBM Corp. Macintosh, NeXT, and NeXTSTEP, are trademarks of Apple Computer, Inc., used under license. MS-DOS is a trademark of Microsoft Corp. Pentium, Pentium Pro, and Pentium II are trademarks of Intel Corp. PowerPC is a trademark of IBM Corp., used under license. Sun and SPARC are trademarks of Sun Microsystems Computer Corp. UNIX is a trademark of the Santa Cruz Operation, Inc. Windows 95/98/NT/ME/2000 and XP are trademarks of Microsoft Corp. All other brand or product names are trademarks of their respective holders. Copyright © 2004-2015 Absoft Corporation and its licensor(s). All Rights Reserved Printed and manufactured in the United States of America. 16.0.0091415 i Contents PRO FORTRAN .................................................................................................... I CHAPTER 1 INTRODUCTION ........................................................................... 1 Introduction to Absoft Pro Fortran ............................................................................................................. 1 Absoft Fortran 90/95 .................................................................................................................................. 1 Absoft FORTRAN 77 ................................................................................................................................. 1 Conventions Used in this Manual ................................................................................................................ 2 Road Maps ..................................................................................................................................................... 2 FORTRAN Road Map ................................................................................................................................ 2 Windows Programming Road Map............................................................................................................. 3 Year 2000 Problem ........................................................................................................................................ 3 Fortran 90 DATE_AND_TIME Subroutine ................................................................................................. 3 Unix Compatibility Library ........................................................................................................................ 4 CHAPTER 2 GETTING STARTED ..................................................................... 5 Compiling Basics ........................................................................................................................................... 5 Application Basics ....................................................................................................................................... 11 CHAPTER 3 USING THE EDITOR ................................................................... 13 Text Selection ............................................................................................................................................... 13 File Menu ..................................................................................................................................................... 14 New…(Ctrl+N) ......................................................................................................................................... 14 Open…(Ctrl+O) ....................................................................................................................................... 14 Save (Ctrl+S) ............................................................................................................................................ 14 Save As… ................................................................................................................................................. 14 Save All .................................................................................................................................................... 14 Close (Ctrl+W) ......................................................................................................................................... 14 Close All ................................................................................................................................................... 15 Close Others ............................................................................................................................................. 15 Recent Files .............................................................................................................................................. 15 Check For Updates ................................................................................................................................... 15 Preferences ............................................................................................................................................... 15 Edit menu and Pop-up menus..................................................................................................................... 16 Find/Replace (F) ................................................................................................................................... 16 Text in File ........................................................................................................................................... 16 Replace With ....................................................................................................................................... 16 Replace ................................................................................................................................................ 16 Find and Replace ................................................................................................................................. 16 Replace and Find ................................................................................................................................. 16 Replace All .......................................................................................................................................... 16 Match Case .......................................................................................................................................... 17 Find Previous ......................................................................................................................................