Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Chapter 2/EOLN and EOF/ja: 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/ja

OldNewLine
1+2E - EOLN と EOF (著者: Tao Yue, 状態: 原文のまま変更なし)
2+
3+`EOLN` はブール関数であり、オープンされた入力ファイルの行の最後に達すると `TRUE` になる。
4+
5+``` pascal
6+eoln (ファイル変数)
7+```
8+
9+もし、標準入力(キーボード)が行の最後にきたかどうか知りたければ、パラメータをつけずに単に `eoln` と呼び出せば良い。これは `read` と `write` がファイルパラメータなしに呼び出されるとコンソール (キーボードとディスプレイ) を使うのと似ている。
10+
11+``` pascal
12+eoln
13+```
14+
15+`EOF` はファイルの最後に達すると `TRUE` になるブール関数である。
16+
17+``` pascal
18+eof (ファイル変数)
19+```
20+
21+通常、キーボードから `end-of-file` を打ち込むことはない。 DOS/Windows マシンでは、それは `Control-Z` に相当し、 UNIX/Linux マシンでは `Control-D` に相当する。
22+
23+| | | |
24+|----|----|----|
25+| [[Basic Pascal Tutorial/Chapter 2/Files/ja|previous]] | [[Basic Pascal Tutorial/Contents/ja|contents]] | [[Basic Pascal Tutorial/Chapter 2/Programming Assignment/ja|next]] |
26+
27+---
28+*From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 2/EOLN and EOF/ja", 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).*

Back to history