fortran输出语句中advance='no'是什么意思?
答案:3 悬赏:60 手机版
解决时间 2021-03-10 00:38
- 提问者网友:雾里闻花香
- 2021-03-09 09:36
fortran输出语句中advance='no'是什么意思?
最佳答案
- 五星知识达人网友:蓝房子
- 2021-03-09 11:10
看你输出的是否是推进型,默认是yes,这句话就可以省掉,就是推进型,你在写完之后,指针就定位在记录尾部;如果是NO,那么就允许写一部分,指针定位于你这这部分的最后一个字符后面。以后还可以接着的。
回答完毕,可以多泡泡动力论坛,里面高手不少。呵呵
回答完毕,可以多泡泡动力论坛,里面高手不少。呵呵
全部回答
- 1楼网友:撞了怀
- 2021-03-09 12:54
就是不换行输出的意思,我问了一下老师
- 2楼网友:洎扰庸人
- 2021-03-09 11:50
Advance Specifier
The advance specifier determines whether nonadvancing I/O occurs for a data transfer statement. It takes the following form:
ADVANCE=c-expr
c-expr
Is a scalar character expression that evaluates to 'YES' for advancing I/O or 'NO' for nonadvancing I/O. The default value is 'YES'.
Trailing blanks in the expression are ignored.
The ADVANCE specifier can appear only in a formatted, sequential data transfer statement that specifies an external unit. It must not be specified for list-directed or namelist data transfer.
Advancing I/O always positions a file at the end of a record, unless an error condition occurs. Nonadvancing I/O can position a file at a character position within the current record.
The advance specifier determines whether nonadvancing I/O occurs for a data transfer statement. It takes the following form:
ADVANCE=c-expr
c-expr
Is a scalar character expression that evaluates to 'YES' for advancing I/O or 'NO' for nonadvancing I/O. The default value is 'YES'.
Trailing blanks in the expression are ignored.
The ADVANCE specifier can appear only in a formatted, sequential data transfer statement that specifies an external unit. It must not be specified for list-directed or namelist data transfer.
Advancing I/O always positions a file at the end of a record, unless an error condition occurs. Nonadvancing I/O can position a file at a character position within the current record.
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯