Archaic to modern 2: kinds and modules

D. Nagle
{"title":"Archaic to modern 2: kinds and modules","authors":"D. Nagle","doi":"10.1145/1189022.1189023","DOIUrl":null,"url":null,"abstract":"This is the second in a series of articles about converting archaic (66, 77) Fortran to modern (90, 95, 2003) Fortran. In the first, I discussed revision control (rcs), compilation control (make), and checking procedure interfaces and common blocks. The idea is to give an older, Fortran 77 (or earlier) code a check-up before trying to modify it. I also discussed automatic conversion of older Fixed Format source files to the modern Free Format. Free Format is easier to use, and can eliminate some problems present when using Fixed Format, mainly associated with searching for names. In this article, I'll discuss the Fortran kind mechanism for selecting types and the Fortran module for sharing data among procedures. Next, I'll try to tie the notions of agreement in type, kind, and rank, the use of procedure interfaces and common block consistency issues together with the use of modules.","PeriodicalId":379614,"journal":{"name":"ACM SIGPLAN Fortran Forum","volume":"2017 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM SIGPLAN Fortran Forum","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1189022.1189023","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

This is the second in a series of articles about converting archaic (66, 77) Fortran to modern (90, 95, 2003) Fortran. In the first, I discussed revision control (rcs), compilation control (make), and checking procedure interfaces and common blocks. The idea is to give an older, Fortran 77 (or earlier) code a check-up before trying to modify it. I also discussed automatic conversion of older Fixed Format source files to the modern Free Format. Free Format is easier to use, and can eliminate some problems present when using Fixed Format, mainly associated with searching for names. In this article, I'll discuss the Fortran kind mechanism for selecting types and the Fortran module for sharing data among procedures. Next, I'll try to tie the notions of agreement in type, kind, and rank, the use of procedure interfaces and common block consistency issues together with the use of modules.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
从古代到现代2:种类和模块
这是关于将古老的(66,77)Fortran转换为现代的(90,95,2003)Fortran的系列文章中的第二篇。在第一篇文章中,我讨论了修订控制(rcs)、编译控制(make)以及检查过程接口和公共块。其思想是在试图修改旧的Fortran 77(或更早的)代码之前对其进行检查。我还讨论了旧的固定格式源文件到现代自由格式的自动转换。自由格式更容易使用,并且可以消除使用固定格式时出现的一些问题,主要与搜索名称有关。在本文中,我将讨论用于选择类型的Fortran类机制和用于在过程之间共享数据的Fortran模块。接下来,我将尝试将类型、种类和等级中的协议概念、过程接口的使用和公共块一致性问题与模块的使用联系起来。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Compiler Support for the Fortran 2008 and 2018 Standards The diagnostic capability of the Cray, gfortran, Intel, Nag and Oracle Fortran compilers The diagnostic capability of the Cray, gfortran, Intel, Nag and Oracle Fortran compilers Experimenting with generic programming features History of Fortran
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1