eor_handling_4.f90
来自「用于进行gcc测试」· F90 代码 · 共 18 行
F90
18 行
! { dg-do run }! PR 20092, 20131: Handle end-of-record condition with pad=yes (default)! for standard input. This test case only really tests anything if,! by changing unit 5, you get to manipulate the standard input.program main character(len=1) a(80) close(5) open(5,status="scratch") write(5,'(A)') 'one', 'two', 's' rewind(5) do i=1,4 read(5,'(80a1)') a if (a(1) == 's') goto 100 end do call abort100 continueend program main
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?