Looping Directives: while and until

Learn about the while and until looping directives.

The while directive

A while loop continues until the loop conditional expression evaluates to a false value. Here’s an idiomatic infinite loop:

Access this course and 1400+ top-rated courses and projects.