Course of Raku / Essentials / Loops
Infinite loops
The loop
can also be used with only a body:
loop {
say 'Eternity';
}
This loop is running infinitely until you terminate the program by, for example, pressing Ctrl+C
. (We will have better ways to control the loop in the second part of the course.)
Course navigation
←
Loops / Three-statement loop
|
Loops / for
loops
→
💪 Or jump directly to the exercises to this section.
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська