while: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#W|COMREF]]
<h2 style="color:#000066">'''while '' condition'''''</h2>
<h2 style="color:#000066">'''while '' condition'''''</h2>


'''Operand types:'''
'''Operand types:'''
Line 7: Line 10:
'''Type of returned value:'''
'''Type of returned value:'''


While Type
[[While Type]]


'''Description:'''
'''Description:'''


First part of while construct.
First part of while construct.


'''Example:'''
'''Example:'''


'''while''' "x<10" do {x=x+1}
'''while''' "x<10" [[do]] {x=x+1}

Revision as of 16:00, 15 April 2006

back to COMREF

while condition


Operand types:

condition: String

Type of returned value:

While Type

Description:

First part of while construct.


Example:

while "x<10" do {x=x+1}