from: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
#REDIRECT [[Control Structures#for-from-to-Loop]]
{{Command|= Comments
____________________________________________________________________________________________


| arma |= Game name
|1.00|= Game version
____________________________________________________________________________________________
| Continue sequence of [[for var]] command. |= Description
____________________________________________________________________________________________
| for "_var" '''from''' b |= Syntax
|p1= for "_var": [[For Type]] |= Parameter 1
|p2= b: [[Number]] |= Parameter 2
| [[For Type]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>[[for var|for]] "_x" '''from''' 10 [[to]] 20 [[do]] {..code..}</code> |= Example 1
____________________________________________________________________________________________
| [[Control Structures]]  |= 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|FROM]]
[[Category:Scripting Commands|FROM]]
[[Category:Scripting Commands ArmA|FROM]]
[[Category:Scripting Commands ArmA|FROM]]
[[Category:ArmA: Control Structures|FROM]]
[[Category:Command Group: Program Flow|FROM]]

Revision as of 17:01, 15 January 2007

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

Description

Description:
Continue sequence of for var command.
Groups:
Uncategorised

Syntax

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