⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list_read_1.f90

📁 linux下编程用 编译软件
💻 F90
字号:
! { dg-do run }! Program to test terminators in list-directed inputprogram list_read_1  character(len=5) :: s  open (unit=11, status="SCRATCH")  ! The / terminator was causing the next value to be skipped.  write (11, '(a)') " 42 /"  write (11, '(a)') " 43"  write (11, '(a)') " 44"  rewind(11)  read (11, *) i  if (i .ne. 42) call abort  read (11, *) i  if (i .ne. 43) call abort  read (11, *) i  if (i .ne. 44) call abort  close (11)end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -