维基副本镜像

这是 pascal.chat 维基的镜像。编辑、历史记录和登录都在那里。

Basic Pascal Tutorial/Chapter 2/EOLN and EOF/zh CN

Deutsch · English · Français · Български · 中文(中国) · 日本語

2E - EOLN 和 EOF (原作者: Tao Yue, 状态: 未更改

若文件指针指向行结束符或文件结束符,则返回 真,否则返回 假。

pascal
eoln (????????????)

如果调用不带参数的 eoln,它类似于read、write在控制台中。

pascal
eoln

若文件指针指向文件尾,则返回 真,否则返回 假。

pascal
eof (????????????)

通常情况下,DOS/Windows中按 Ctrl-Z、UNIX/Linux下按 Ctrl-D 键结束输入操作。

上一页 目录 下一页

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.

版本1,最后由WikiArchive于修改。