nextwhile
Nextwhile is a term used to describe a looping construct found in some programming languages and domain-specific languages. It combines the idea of a while loop with an emphasis on advancing to the next iteration, and in languages that implement it as a distinct keyword, it is sometimes used to express loop continuity more succinctly. There is no universal standard definition, and the exact syntax and behavior can vary between languages.
In languages that implement nextwhile as a dedicated keyword, the typical form is a condition followed by
Nextwhile is generally viewed as a variant of the classic while loop, with a naming emphasis on
Related constructs include the standard while loop, do-while or repeat-until forms, and the continue or next