看板 Fortran 關於我們 聯絡資訊
大家好 我想請問fortran90可否做到以下的事 我有一個txt檔 txt檔內容如下 line line a line b line c line d framesections frame 20x20 frame 50x90 frame 40x50 frame 40x80 frame 50x80 frame 60x90 frame 70x90 frame 80x80 point coordinates point 1,2 point 3,4 point 4,6 point 3,6 point 3,7 line,framesections, point coordinates三個都算是標題 我想只抓framesections裡的八個frame 輸出答案為" 8 " 請問是否有指令可以去做判別"我要從哪裡開始讀" 或是" 讀到空白處結束" 並計算個數 謝謝各位 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.166.105.166
gilocustom:"read","if-endif"。 02/04 20:18