Microsoft Fortran 5.1 | |
環境變數設定 執行外部程式 (相容 FPS4/DF5) 程式的參數 (命令列) (相容 FPS4/DF5) 微軟 Fortran 的好幫手 Quick Help 介紹 更新程式簡介 連結的數種方法 |
建立 Windows 執行檔 建立 DOS & Windows 的雙重執行檔 建立 Windows 下的動態連結程式庫 (DLL) Windows API 的使用最佳工具 (本文提及之 f4w3api.zip ) 可否 For Windows 95 |
Microsoft Fortran PowerStation 4.0 (MSF4) Digital Visual Fortran 5.0/6.0 (DVF5/6) Compaq Visual Fortran 6.1/6.5/6.6 (CVF6.x) Intel Visual Fortran 7.x/8.x/9.0 (IVFx) |
|
VB 呼叫 Fortran 製成的 DLL 檔 VB 呼叫 Fortran 傳遞字串篇(更新 88/8/26) Fortran 呼叫 DLL 檔 抑制跳行的小範例 從 Bitmap 讀取顏色 Microsoft Fortran 語法: Record |
如何以程式碼啟動說明檔? 除錯講座 程式整合討論 使用 Win32 的開啟舊檔與另存新檔對話盒 程式整合技術 IVF 使用 XP Theme 主題樣式 |
註:Microsoft Fortran PowerStation 4.0 縮寫成 FPS4 , Digital Visual Fortran 5.0 縮寫成 DF5 ,Compaq Visual Fortran 6.x 縮寫成 CVF6 。
程式碼
本網站提供之 Fortran 90/95 Module 函數區
函數區
不同作業系統所出的二進位檔可能為 Big 或 Little 方式排列,在交換檔案時應考慮到資料轉換,本範例即為此撰寫一 Big, Lttle 互轉函數
big endian byte order
Left-to-right byte ordering of an integer word. This byte-ordering method is used on many UNIX systems including Sun, Hewlett-Packard(R), IBM(R), and Data General AViiON(R).
little endian byte order
Right-to-left byte ordering of an integer word. This byte-ordering method is used on many operating file systems including DEC OSF/1(TM), DEC OpenVMS(TM), MS-DOS(R), and Windows NT(TM).
工具書推薦
Windows API:黃逸萍、黃小萍,「Fortran 與視窗程式設計」,儒林 (SIM511) ,1997.3。
註:這是我在 (1999.2.28) 逛書店偶而發現,適合進階人員閱讀,初學者不要勉強
黃逸萍、黃小萍著,「新Fortran程式設計」,五南,民國 90 年 4 月。
黃逸萍、黃小萍著,「Fortran95/90程式設計」,五南,民國 90 年 5 月。
黃逸萍、黃小萍著,「Fortran95與視窗程式設計」,五南,民國 90 年 11 月。
本書以 Fortran 95 語言在 Windows 98 作業環境中開發視窗程式的技巧,並以 Compaq Visual Fortran 撰寫程式,詳加介紹環境的操作與各種使用到的函式等。
其他參考資訊
相關討論區
新聞群組
tw.bbs.comp.lang.fortran:中文
microsoft.public.fortran:英文
comp.lang.fortran
fj.lang.fortran
本網站討論區與 tw.bbs.comp.lang.fortran 轉信,亦可到成大資工 BBS fortran 版討論
相關網頁
Fortran.Net
Fortran.Net 是號稱 Fortran 從邊緣化回到主流語言的契機,目前支援 .Net 的編譯器有二套,可以利用 Fortran 來寫網頁 (ASP.NET) 、Win32 視窗程式、存取資料庫 (ADO.NET)、畫圖等,目前看到的好像都只支援到 Fortran 95 語法,沒有看到支援 Fortran 200x 語法。
公司 | 產品 | 版號 | 相容 | 說明 |
Lahey Computer Systems, Inc. | Lahey/Fujitsu Fortran | 7.1 | VS.Net 2003 | 在 2003/7 底終於推出,有測試版可下載安裝測試,國內代理商:逸奇科技 註:我在中文 Windows 上還跑不動測試版,for VS2005 的還在測試中,請參考前面網址登記下載。 |
Silverfrost Software | FTN95 for Microsoft .NET & Win32 | 5.1 | VS.Net 2005 | 有專業版可下載安裝測試,另外有開發給 Fortran.Net 繪圖用物件,支援多項圖檔及圖形,可以上網參考。 個人使用可下載專業版,每次跑之前會跳出版權畫面,我試過在中文 Windows XP SP2/2003 上可以執行,新版支援 .Net 2.0/3.0 的還沒試過。 |
Intel | Fortran Compiler for Windows | 10.1 | VS 2005 | 買下 Compaq Visual Fortran 後,推出 7.x ,有測試版可下載安裝測試,國內代理商:逸奇科技 支援 Visual Studio .Net 介面,但不支援 .Net framework |
The Portland Group | PGI Visual Fortran Compilers and Tools | 7.0-2 | VS2005 | 有測試版可下載安裝測試,國內代理商:瑋凌科技 支援 Visual Studio 2005 介面,但不支援 .Net framework,尚有其他類型 Fortran 產品。 |
Lahey/Fujitsu Fortran for .NET 的說明檔,在未購買該套軟體前,可以透過說明檔看看最新 Fortran 功能,檔案裡面有很多畫面可以參考,包含傳統 DOS 畫面程式 (Console) 、Windows 程式 (WinForm) 及網頁程式 (ASP.NET) 。
因為 Lahey/Fujitsu Fortran for .NET 說明檔採用 HTML Help 2.x 方式編譯 (*.HxS),這類說明檔無法像過去 *.chm 檔帶著跑,必須在系統註冊才能觀看,所以只好反解該檔後,重新編譯為 chm 檔給大家參考。這個檔包含語法說明,對於寫程式參考價值很大。
註:2004/3/17 將說明檔更新為 Lahey/Fujitsu Fortran for .NET 7.1 企業版
Silverfrost 有將說明書放在網上供人下載參考。
美商威能資訊台灣分公司 | |
在 DF5開發環境中使用IMSL 在 DF6開發環境中使用IMSL VB4 Call PWS4 範例 CVF 6.1 介紹 |
感謝廖建華先生、謝佩君小姐提供左列相關資料 台北市信義區
110 忠孝東路五段 510 號 7F 美商威能資訊台灣分公司 |
彭國倫(Perng Kuo-luen) http://linux.na.ntu.edu.tw/~perng/
高速計算世界http://www.nchc.gov.tw/NCHC/Journal/:國家高速電腦中心所出版的刊物,有很多 Fortran 相關文章值得一讀
HP Software - fortran home page
神奇的歷史:
微軟將 Microsoft Fortran PowerStation 4.0 賣給 Digital 後, Digital 配合 Visual Studio IDE 環境分別推出相容於 Microsoft Fortran 之 Digital Visual Fortran 5.0x/6.0x ,其後 Ditigal 被 Compaq 併購,推出 Compaq Visual Fortran 6.xx 各版,並新增免費 CXML 函式庫意圖取代 IMSL 函式庫,數年後 Compaq 被 HP 併購,HP 整併 Fortran 部門,將 Windows 版的 Fortran 讓售給 Intel ,HP 僅保留工作站級的 Fortran 編譯器。
Pacific-Sierra Research High Performance Computing Home Page :提供免費 linux Fortran 編譯器下載
http--www.sinica.edu.tw-cc-doc-f90.txt
Polyhedron Software Ltd - Index Page
LCC-Win32: a compiler system for Windows 95 - NT by Jacob Navia :提供免費 Windows Fortran 編譯器下載
Fortran - Lahey Computer Systems, Inc. :提供免費 Fortran 編譯器 (lf90) 下載,及 Fortran 90 語法檢查器下載
The G95 Project :提供免費 Windows/Linux/PowerPC/FreeBSD/SPARC/HP-Unix Fortran 編譯器下載
Canaima Software:提供免費 Fortran 90 SQL 下載
Apogee Software, Inc. :提供免費 SPARC/SunOS Fortran 編譯器下載
photran :提供免費 Windows/Linux/Mac/Solaris Fortran 編譯器下載(網友wyx提供)
gfortran :提供免費 Windows/Linux/Mac Fortran 編譯器下載
Welcome to Applied Parallel Research, Inc.
MATFOR:提供 Visual Fortran 相容之陣列、矩陣、繪圖函式庫試用版下載