Skip to content

UNTIL


Conditional clause used in Do..Loop statements.

Syntax

Do Until condition

or

Loop Until condition

Description

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

Examples

start GeSHi

vb
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.

end GeSHi

Differences from QB

  • None

See also

  • Do...Loop

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft