Basic Pascal Tutorial/Chapter 2/EOLN and EOF/zh CN: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Basic Pascal Tutorial/Chapter 2/EOLN and EOF/zh CN
| Old | New | Line | |
|---|---|---|---|
| 1 | + | 2E - EOLN 和 EOF (原作者: Tao Yue, 状态: 未更改 | |
| 2 | + | ||
| 3 | + | 若文件指针指向行结束符或文件结束符,则返回 `真`,否则返回 `假`。 | |
| 4 | + | ||
| 5 | + | ``` pascal | |
| 6 | + | eoln (文件变量) | |
| 7 | + | ``` | |
| 8 | + | ||
| 9 | + | 如果调用不带参数的 `eoln`,它类似于`read`、`write`在控制台中。 | |
| 10 | + | ||
| 11 | + | ``` pascal | |
| 12 | + | eoln | |
| 13 | + | ``` | |
| 14 | + | ||
| 15 | + | 若文件指针指向文件尾,则返回 `真`,否则返回 `假`。 | |
| 16 | + | ||
| 17 | + | ``` pascal | |
| 18 | + | eof (文件变量) | |
| 19 | + | ``` | |
| 20 | + | ||
| 21 | + | 通常情况下,DOS/Windows中按 `Ctrl-Z`、UNIX/Linux下按 `Ctrl-D` 键结束输入操作。 | |
| 22 | + | ||
| 23 | + | | | | | | |
| 24 | + | |----|----|----| | |
| 25 | + | | [[Basic Pascal Tutorial/Chapter 2/Files/zh CN|上一页]] | [[Basic Pascal Tutorial/Contents/zh CN|目录]] | [[Basic Pascal Tutorial/Chapter 2/Programming Assignment/zh CN|下一页]] | | |
| 26 | + | ||
| 27 | + | --- | |
| 28 | + | *From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 2/EOLN and EOF/zh CN", as it stood on 2022-08-20 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
