From Bohemia Interactive Community
|
|
(3 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| {{Command|= Comments
| | #REDIRECT [[do]] |
| ____________________________________________________________________________________________
| |
| | |
| | arma |= Game name
| |
| | |
| |1.00|= Game version
| |
| ____________________________________________________________________________________________
| |
| | |
| | End of '''for''' command, starts cycle. |= Description
| |
| ____________________________________________________________________________________________
| |
| | |
| | forCommand '''do''' code |= Syntax
| |
| | |
| |p1= forCommand: [[For Type]] |= Parameter 1
| |
| | |
| |p2= code: [[Code]] |= Parameter 2
| |
| | |
| | [[Anything]] |= Return value
| |
| ____________________________________________________________________________________________
| |
| |x1 = <code>[[for]] "_x" [[from]] 20 [[to]] 10 [[step]] -2 '''do''' {..code..} </code>
| |
| | |
| | |
| | [[Control Structures]] |= See also
| |
| | |
| }}
| |
| | |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
| | |
| <!-- Note Section END -->
| |
| </dl>
| |
| | |
| [[Category:Scripting Commands|DODSWITCH]]
| |
| [[Category:Scripting Commands ArmA|DODSWITCH]]
| |
| [[Category:ArmA: Control Structures|DOSWITCH]]
| |
| [[Category:Command Group: Program Flow|DOSWITCH]]
| |
Latest revision as of 22:16, 4 February 2019