Книга: Fedora™ Unleashed, 2008 edition

do ... while and do ... until

do ... while and do ... until

The while and until loops evaluate the conditional first. You change the behavior by applying a do block before the conditional. With the do block, the condition is evaluated last, which results in the contents of the block always executing at least once (even if the condition is false). This is similar to the C language do ... while (conditional) statement.

Оглавление статьи/книги

Генерация: 1.154. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз