Sign in Join
Wiki copytemporary

Repeat/ru: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Repeat/ru

OldNewLine
1+Является [[Keyword/ru|ключевым словом]], которое используется в управляющей конструкции аналогично циклу '[[While/ru|while]] [[Do/ru|do]]'.
2+
3+## Синтаксис
4+
5+``` pascal
6+ repeat
7+ <блок операторов>
8+ until <условие>;
9+```
10+
11+\<блок операторов\>: одиночный оператор на языке [[Pascal/ru|Pascal]] или блок операторов, заключенный в [[Begin/ru|begin]]-[[End/ru|end]].
12+
13+\<условие\>: [[expression/ru|выражение]], значение которого является типом boolean.
14+
15+## Пример
16+
17+``` pascal
18+ x := 1;
19+ repeat
20+ DoSomethingHere(x);
21+ x := x + 1;
22+ until x = 10;
23+```
24+
25+---
26+*From the Free Pascal wiki, page "Repeat/ru", as it stood on 2022-08-06 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