Talk:Read a specific line from a file: Difference between revisions
Content added Content deleted
(added comment about sparse files. ~~~~) |
m (added more comments about sparse files. ~~~~) |
||
Line 8: | Line 8: | ||
==sparse files== |
==sparse files== |
||
Some operating systems allow sparse files, that is, a file may have (say) the 1st, 2nd, 500th, and the one millionth record defined (four actual records), but it appears that there are one million records in the file, and almost all of them null (empty). |
Some operating systems allow sparse files, that is, a file may have (say) the 1st, 2nd, 500th, and the one millionth record defined (four actual records), but it appears that there are one million records in the file, and almost all of them null (empty). |
||
<br> The REXX language was developed on such a system, and as such, the built-in function LINEIN doesn't treat the reading of a none-existant record an error. |
|||
<br>[[User:Gerard Schildberger|Gerard Schildberger]] 04:04, 14 March 2012 (UTC) |