while (MathScript RT Module Keyword)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: programming

Requires: MathScript RT Module

Syntax

while

Description

Performs a while loop. The principle calling structure of a while loop is:
while expression
     statement1
     ....
     ....
     statementn
end

Examples

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

A = 1
X = 1
while X<10,
     A = A+1,
     X = X+1,
end

Related Topics

break
continue
for
return

文章是否对您有帮助?

没有帮助