from: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(made clear it is a operator on it's own)
(Fix page, remove deprecated for links, add TKOH category)
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 start value of the index variable. |= Description
| Continue sequence of [[for]] construct. It sets the start value of the index variable. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| for '''from''' b |= Syntax
| for [[from]] b |Syntax=


|p1= for: [[For Type]] |= Parameter 1
|p1= for: [[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 var|for]] "_x" '''from''' 10 [[to]] 20 [[do]] {..code..}</code> |= Example 1
|x1= <code>[[for]] "_x" [[from]] 10 [[to]] 20 [[do]] {..code..}</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Control Structures]]  |= See also
| [[Control Structures]]  |See also=


}}
}}
Line 34: Line 34:


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

Revision as of 22:31, 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 start value of the index variable.
Groups:
Uncategorised

Syntax

Syntax:
for from b
Parameters:
for: 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