TXTファイルを、全行読み込む。 1行あたりの文字数は引数に依存。
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
ファイル名(パス) |
||
character(len=*), | intent(out), | allocatable | :: | array(:) |
文字列配列 要素数はallocatableだが、1要素あたりの文字数は予め指定 |