| 查看: 822 | 回复: 3 | ||
mansamsung8113木虫 (正式写手)
|
[求助]
关于fortran new_line函数的用法 已有2人参与
|
| 请问fortran 中new_line()函数的具体含义和用法是什么? |
» 猜你喜欢
越来越担心硕士毕业后没有竞争力了
已经有14人回复
论文的挂名怎么评判贡献?基金申请中,排名第一的挂名文章
已经有3人回复
申博自荐 2篇一区TOP+1篇EI+2公开发明专利 2027博士申请
已经有3人回复
闲聊
已经有6人回复
申博求助
已经有4人回复

【答案】应助回帖
感谢参与,应助指数 +1
|
这是GNU上的官方说明,供参考。 Description: NEW_LINE(C) returns the new-line character. Standard: Fortran 2003 and later Class: Inquiry function Syntax: RESULT = NEW_LINE(C) Arguments: C The argument shall be a scalar or array of the type CHARACTER. Return value: Returns a CHARACTER scalar of length one with the new-line character of the same kind as parameter C. Example: program newline implicit none write(*,'(A)') 'This is record 1.'//NEW_LINE('A')//'This is record 2.' end program newline |
2楼2015-07-17 15:43:03
mansamsung8113
木虫 (正式写手)
- 应助: 2 (幼儿园)
- 金币: 3082.1
- 红花: 1
- 帖子: 562
- 在线: 208.6小时
- 虫号: 712068
- 注册: 2009-03-01
- 性别: GG
- 专业: 金属材料的力学行为

3楼2015-07-18 14:44:51
charleslian
木虫 (小有名气)
- 应助: 21 (小学生)
- 金币: 1725.5
- 散金: 100
- 红花: 7
- 帖子: 83
- 在线: 49.3小时
- 虫号: 1089067
- 注册: 2010-09-04
- 专业: 凝聚态物性 II :电子结构
4楼2015-07-18 15:01:07










回复此楼