| 查看: 666 | 回复: 3 | ||
mansamsung8113木虫 (正式写手)
|
[求助]
关于fortran new_line函数的用法 已有2人参与
|
| 请问fortran 中new_line()函数的具体含义和用法是什么? |
» 猜你喜欢
国家基金申请书模板内插入图片不可调整大小?
已经有9人回复
退学或坚持读
已经有20人回复
免疫学博士有名额,速联系
已经有14人回复
面上基金申报没有其他的参与者成吗
已经有4人回复
多组分精馏求助
已经有6人回复
国家级人才课题组招收2026年入学博士
已经有6人回复

【答案】应助回帖
感谢参与,应助指数 +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













回复此楼