Sign in Join
Wiki copytemporary

Break/ru: what changed

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

OldNewLine
11Зарезервированное слово **break** - одна из [[Loops|команд цикла]]\
22Эта команда используется для выхода из цикла до его запланированного окончания.\
33Команда **break** может использоваться только внутри циклов.\
4-\
4+
55Пример:\
66
77``` pascal
88var
99 intI: Integer;
1010 intA: Integer = 50;
1111begin
1212 for intI := 20 to 200 do
1313 begin
1414 ...
1515 if intI = intA then break; // При выполнении условия цикл завершается
1616 ...
1717 end;
1818end;
1919```
2020
2121## См. также
2222
2323- [[Reserved words]]
2424
2525---
2626*From the Free Pascal wiki, page "Break/ru", as it stood on 2020-01-17 after a change by Bart, 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