| 查看: 939 | 回复: 5 | ||||
| 当前主题已经存档。 | ||||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||||
maomao1210金虫 (正式写手)
|
[交流]
【求助】getarg 的用法
|
|||
|
求高手指点Fortran 中Getarg的用法。 看程序的时候已经见到Getarg(),但始终没弄明白,求高手指点。。。。 [ Last edited by sunxiao on 2009-4-30 at 11:30 ] |
» 收录本帖的淘帖专辑推荐
fortran相关 |
» 猜你喜欢
球磨粉体时遇到了大的问题,请指教!
已经有15人回复
过年走亲戚时感受到了所开私家车的鄙视链
已经有5人回复
情人节自我反思:在爱情中有过遗憾吗?
已经有5人回复
江汉大学解明教授课题组招博士研究生/博士后
已经有3人回复
6楼2009-04-02 23:33:37
snoopyzhao
至尊木虫 (职业作家)
- 程序强帖: 16
- 应助: 157 (高中生)
- 贵宾: 0.02
- 金币: 18844.7
- 红花: 29
- 帖子: 3803
- 在线: 1422.4小时
- 虫号: 183750
- 注册: 2006-02-13
- 专业: 污染生态化学
★ ★
sunxiao(金币+2,VIP+0):谢谢参与,欢迎常来交流 3-23 23:09
sunxiao(金币+2,VIP+0):谢谢参与,欢迎常来交流 3-23 23:09
|
g77 的说明文档中如是说: 8.11.9.118 GetArg Intrinsic CALL GetArg(Pos, Value) Pos: INTEGER not wider than the default kind; scalar; INTENT(IN). Value: CHARACTER; scalar; INTENT(OUT). Intrinsic groups: unix. Description: Sets Value to the Pos-th command-line argument (or to all blanks if there are fewer than Value command-line arguments); CALL GETARG(0, value) sets value to the name of the program (on systems that support this feature). See Section 8.11.9.133 [IArgC Intrinsic], page 145, for information on how to get the number of arguments. 相关的 IArgC() 如下: 8.11.9.133 IArgC Intrinsic IArgC() IArgC: INTEGER(KIND=1) function. Intrinsic groups: unix. Description: Returns the number of command-line arguments. This count does not include the specification of the program name itself. |
2楼2009-03-23 14:11:55
maomao1210
金虫 (正式写手)
- 程序强帖: 5
- 应助: 2 (幼儿园)
- 金币: 1432.8
- 散金: 242
- 红花: 16
- 沙发: 1
- 帖子: 991
- 在线: 442.1小时
- 虫号: 253215
- 注册: 2006-05-20
- 性别: MM
- 专业: 考古理论
3楼2009-03-23 15:49:32
maomao1210
金虫 (正式写手)
- 程序强帖: 5
- 应助: 2 (幼儿园)
- 金币: 1432.8
- 散金: 242
- 红花: 16
- 沙发: 1
- 帖子: 991
- 在线: 442.1小时
- 虫号: 253215
- 注册: 2006-05-20
- 性别: MM
- 专业: 考古理论
4楼2009-03-25 09:27:39













回复此楼
