158. Specific array elements can read or written to unformatted stream file by specifying the POS.#
topic: Input and Output
Note
This tip is a draft1.
Unformatted stream I/O is fast for large data sets. By specifying the POSition in the READ or WRITE of an unformatted stream file, you can read or write an arbitrary array element in the file without looping over previous elements.
Unformatted stream I/O is fast for large data sets. By specifying the POSition in the READ or WRITE of an unformatted stream file, you can read or write an arbitrary array element in the file without looping over previous elements.pic.twitter.com/INZyxK0foW
— FortranTip (@fortrantip) March 19, 2022
- 1
From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.