to: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(made clear it is a operator on it's own)
m (Fix page, remove deprecated for links)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma |= Game name
| arma |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Continue sequence of [[for var]] construct. It sets the end value of the index variable |= Description
| Continue sequence of [[for]] construct. It sets the end value of the index variable |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| forType '''to''' b |= Syntax
| forType [[to]] b |Syntax=


|p1= forType: [[For Type]] |= Parameter 1
|p1= forType: [[For Type]] |Parameter 1=


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


| [[For Type]] |= Return value
| [[For Type]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[for]] "_x" [[from]] 10 [[to]] 20 [[do]] {/* Do something*/}</code> |= Example 1
|x1= <code>[[for]] "_x" [[from]] 10 [[to]] 20 [[do]] {/* Do something*/}</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Control Structures]] |= See also
| [[Control Structures]], [[for]], [[from]], [[step]] |See also=
 
}}
}}


Line 34: Line 33:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|TO]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|TO]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA: Control Structures|TO]]
[[Category:ArmA: Control Structures|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Program Flow|TO]]
[[Category:Command Group: Program Flow|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 21:32, 4 February 2019

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

Description

Description:
Continue sequence of for construct. It sets the end value of the index variable
Groups:
Uncategorised

Syntax

Syntax:
forType to b
Parameters:
forType: For Type
b: Number
Return Value:
For Type

Examples

Example 1:
for "_x" from 10 to 20 do {/* Do something*/}

Additional Information

See also:
Control Structuresforfromstep

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