Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Chapter 2/Output/ja

Sent here from Output/ja.

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

2B - 出力 (著者: Tao Yue, 状態: 原文のまま変更なし)

データをディスプレイに書き出すためにも、2つの命令文がある。1つはすでに前のプログラミング課題で見てきた。

pascal
write (???????????????);
writeln (???????????????);

writeln の命令文は実行後に次の行にスキップする。

引数リストに文字を使うことも、定数やリテラル値を使うこともできる。文字の中でアポストロフィを表示させたい場合には、連続した2つのアポストロフィを使えばよい。連続した2つのアポストロフィを表示させたい場合には連続した4つのアポストロフィを使うことになる。特殊な文字を表現するために、このような連続を利用することをエスケーピング(escaping)と呼び、たとえキーボードにそれを表すキーがなかったとしても、どんな文字でも表現が可能になる。

previous contents next

From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 2/Output/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 WikiArchive .

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
Derakun
Derakun
Derakun
TrevFixed syntax highlighting (minor)
Kai BurghardtKai Burghardt moved page Output/ja to Basic Pascal Tutorial/Chapter 2/Output/ja: tidy up main name space: create subpage hierarchy for basic Pascal tutorial [cf. [[Special: PermaLink/149778#Cluttering... (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.