[請教]如果要用fortran同時開10000個txt檔......

看板Programming作者時間18年前 (2007/02/10 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/18 (看更多)
有沒有什麼方式可以用簡單的指令一口氣開10000個檔啊 因為每個一個檔就要寫一次open 感覺很麻煩 而且我要開的txt檔都正好的編號順序的 從0000.txt到9999.txt 如果要一個一個打的話 就得打一萬次啊XD open(10000, file = "0000.txt") open(10001, file = "0001.txt") open(10002, file = "0002.txt") ...... .... open(19998, file = "9998.txt") open(19999, file = "9999.txt") 打完後大概也快斃了吧 -- ︵︵ █▔◣ █▔█ █▔▔ █▔█ █▆▉ █ █▔█ █◣█ █▔ █◣︵︵ █ █ █▁◤ █▁▁ █▁█ ▉▉▉ █ █▁█ █◥█ █ █ 夢之大地 逼逼ㄟ四 █▁◤ █ █ █▁▁ █ █ ▉▉▉ █▁ █ █ █ █ █▁◤ ※ Origin: <bbs.ccns.ncku.edu.tw> ◆ From: 140.116.155.243
文章代碼(AID): #15pBRW00 (Programming)
討論串 (同標題文章)
文章代碼(AID): #15pBRW00 (Programming)