Skip to content

UNTIL


用于 Do..Loop 语句中的条件子句。

语法

Do Until condition

or

Loop Until condition

说明

UntilDo...Loop 结构一起使用。

示例

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

与 QB 的区别

另请参阅

  • Do...Loop

返回 目录

基于 FreeBASIC 官方文档翻译 如有侵权请联系我们删除
FreeBASIC 是开源项目,与微软公司无隶属关系