Skip to content
Narta Xaymar Dirks edited this page Oct 27, 2026 · 1 revision

Blitz3DBlitzPlusBlitzBasic

While

While condition
statements
Wend

Description

Runs the statements as long as the condition is true, testing it before each pass. When the condition is false at the start, the statements never run. The loop ends with Wend.

Examples

n = 3
While n > 0
	Print n
	n = n - 1
Wend
3
2
1

Related Commands

Until, Wend

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally