Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Chapter 3/REPEAT..UNTIL/ja

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

REPEAT..UNTIL (著者: Tao Yue, 状態: 原文のまま修正なし)

ポストテスト・ループは以下の形式をとる。

pascal
repeat
  ???1;
  ???2
until ????????????;

repeat ループでは、複合文がそのまま使える。言い換えれば、 begin-end を使う必要がない。while ループはブール式が FALSEになるまで続いたが、このループはブール式が TRUE になるまで続く。

このループはポストテスト・ループと呼ばれる。ループが実行された後で条件がチェックされるからである。REPEAT ループはブール式の初期値が何であれ、最低1回はループを実行したい場合に便利である。

previous contents next

From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 3/REPEAT..UNTIL/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 4 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
FTurtle
TrevFixed syntax highlighting (minor)
Kai BurghardtKai Burghardt moved page REPEAT..UNTIL/ja to Basic Pascal Tutorial/Chapter 3/REPEAT..UNTIL/ja: tidy up main name space: create subpage hierarchy for basic Pascal tutorial [cf. [[Special: PermaLink/149... (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.