for var: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (for forspec)
(Redirect to for)
 
(21 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Command|= Comments
#REDIRECT [[for]]
____________________________________________________________________________________________
 
| arma |= Game name
 
|1.00|= Game version
____________________________________________________________________________________________
 
|Starts '''for''' sequence, use in complete form (see example). |= Description
____________________________________________________________________________________________
 
| '''for var''' |= Syntax
 
|p1= var: [[String]] (must be all '''lowercase''') |= Parameter 1
 
| [[For Type]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>'''for''' "_i" from 1 to 10 [[do]] {[[debugLog]] _i;}</code> |= Example 1
____________________________________________________________________________________________
 
| [[for forspec|for [ ]]], [[Control Structures]] |= See also
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
Chosen variable may not contain capital letters.
for "_I" from 0 to 4 do{}; //will not work
--[[User:T D|T_D]] 23:46, 26 January 2007 (CET)
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|FORB]]
[[Category:Scripting Commands ArmA|FORB]]
[[Category:Command Group: Program Flow|FORB]]

Latest revision as of 21:15, 4 February 2019

Redirect to: