[請益] read不到檔案
program graph
implicit none
integer :: i=1
character station
open(20,file="stationlist.txt",status="old")
read(20,"(A6)",end=300) station
我讓他執行以後
station的變數一直是顯示 ' '
或是被當作0
但是我stationlist的檔案中明明就有很多筆數據阿
請問有版友知道為什麼會這樣嗎??
感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.218.170
※ 編輯: jo6m062929 來自: 140.112.218.170 (09/29 02:22)
→
09/29 08:38, , 1F
09/29 08:38, 1F
→
09/29 08:49, , 2F
09/29 08:49, 2F
→
09/29 08:54, , 3F
09/29 08:54, 3F
→
09/29 15:20, , 4F
09/29 15:20, 4F
→
09/29 16:26, , 5F
09/29 16:26, 5F
→
09/29 16:27, , 6F
09/29 16:27, 6F
→
09/29 16:27, , 7F
09/29 16:27, 7F
→
09/29 16:28, , 8F
09/29 16:28, 8F
→
09/29 22:19, , 9F
09/29 22:19, 9F
Fortran 近期熱門文章
PTT數位生活區 即時熱門文章