Skip to content

Wend or End While

Paul Squires edited this page Oct 14, 2026 · 2 revisions

Home › Miscellaneous Keywords › Wend (Or 'End While')

Wend (Or 'End While')

Control flow statement.

Syntax

While [condition]
[statement block]
Wend '' or End While

Description

Wend specifies the end of a While...Wend loop block.

Remarks

Differences from QB

  • None, except for the End While syntax (equivalent to Wend) specific to FreeBASIC.

See also

Examples

See example at While...Wend.


Category: Miscellaneous Keywords
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally