Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Chapter 2/EOLN and EOF/ja

Sent here from EOLN and EOF/ja.

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

2E - EOLN と EOF (著者: Tao Yue, 状態: 原文のまま変更なし)

EOLN はブール関数であり、オープンされた入力ファイルの行の最後に達すると TRUE になる。

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

もし、標準入力(キーボード)が行の最後にきたかどうか知りたければ、パラメータをつけずに単に eoln と呼び出せば良い。これは read と write がファイルパラメータなしに呼び出されるとコンソール (キーボードとディスプレイ) を使うのと似ている。

pascal
eoln

EOF はファイルの最後に達すると TRUE になるブール関数である。

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

通常、キーボードから end-of-file を打ち込むことはない。 DOS/Windows マシンでは、それは Control-Z に相当し、 UNIX/Linux マシンでは Control-D に相当する。

previous contents next

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.

Revision 1, last changed by Kai Burghardt .

Edited on wiki.freepascal.org by 3 people, 2015–2022

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
DerakunCreated page
TrevFixed syntax highlighting (minor)
Kai BurghardtKai Burghardt moved page EOLN and EOF/ja to Basic Pascal Tutorial/Chapter 2/EOLN and EOF/ja: tidy up main name space: create subpage hierarchy for basic Pascal tutorial [cf. [[Special: PermaLink/14977... (minor)
Kai Burghardtbypass redirects [cf. discussion]
Kai Burghardtbypass [previously missed] redirect [cf. discussion]
Kai Burghardtbypass language bar/categorization template redirect [cf. discussion] (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.