to: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|TO]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|TO]]
____________________________________________________________________________________________
[[Category:Armed Assault: Control Flows|TO]]


| arma |= Game name


<h2 style="color:#000066">'''''for "_var" from a'' to ''b'''''</h2>
|2.6|= Game version
____________________________________________________________________________________________


| Continue sequence of 'for' command. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| for "_var" from a '''to''' b |= Syntax


'''for "_var" from a:''' [[For Type]]
|p1= for "_var" from a: [[For Type]] |= Parameter 1


'''b:''' [[Number]]
|p2= b: [[Number]] |= Parameter 2


'''Type of returned value:'''
| [[For Type]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>for "_x" from 10 to 20 do {..code..}</pre> |= Example 1
____________________________________________________________________________________________


[[For Type]]
|  |= See also


'''Compatibility:'''
}}


Version 2.60 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Continue sequence of 'for' command.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|TO]]
 
[[Category:Scripting Commands ArmA|TO]]
'''Example:'''
[[Category:Armed Assault: Control Flows|TO]]
 
for "_x" from 10 '''to''' 20 do {..code..}

Revision as of 22:55, 1 August 2006

-wrong parameter ("Arma") defined!-2.6
Hover & click on the images for description

Description

Description:
Continue sequence of 'for' command.
Groups:
Uncategorised

Syntax

Syntax:
for "_var" from a to b
Parameters:
for "_var" from a: For Type
b: Number
Return Value:
For Type

Examples

Example 1:
for "_x" from 10 to 20 do {..code..}

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section