to: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.6|= 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 | |||
____________________________________________________________________________________________ | |||
| |= 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 ArmA|TO]] | |||
[[Category:Armed Assault: Control Flows|TO]] | |||
Revision as of 22:55, 1 August 2006
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