Skip to content
Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Miscellaneous Keywords › Until

Until

Conditional clause used in Do..Loop statements.

Syntax

Do Until condition
Loop Until condition

Description

Until is used with the Do...Loop structure.

Remarks

Differences from QB

  • None

See also

Examples

Dim a As Integer

a = 1

Do

    Print "hello"

a = a + 1

Loop Until a > 10

'This will continue to print "hello" on the screen until the condition (a > 10) is met.

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