to: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (added see also)
Line 1: Line 1:
#REDIRECT [[Control Structures#for-from-to-Loop]]
{{Command|= Comments
____________________________________________________________________________________________


| arma |= Game name
|1.00|= Game version
____________________________________________________________________________________________
| Continue sequence of 'for' command. |= Description
____________________________________________________________________________________________
| for "_var" from a '''to''' b |= Syntax
|p1= for "_var" from a: [[For Type]] |= Parameter 1
|p2= b: [[Number]] |= Parameter 2
| [[For Type]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>for "_x" from 10 to 20 do {..code..}</pre> |= Example 1
____________________________________________________________________________________________
| [[Control Structures]] |= See also
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|TO]]
[[Category:Scripting Commands|TO]]
[[Category:Scripting Commands ArmA|TO]]
[[Category:Scripting Commands ArmA|TO]]
[[Category:ArmA: Control Structures|TO]]
[[Category:Command Group: Program Flow|TO]]

Revision as of 18:01, 15 January 2007

-wrong parameter ("Arma") defined!-1.00
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:
Control Structures

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