for do: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (see also)
Line 21: Line 21:




| [[Control Structures]], [[for forspec]] |= See also
| [[Control Structures]], [[for forspec]], [[while]] |= See also


}}
}}

Revision as of 15:46, 29 June 2014

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

Description

Description:
End of for command, starts cycle.
Groups:
Uncategorised

Syntax

Syntax:
forCommand do code
Parameters:
forCommand: For Type
code: Code
Return Value:
Anything

Examples

Example 1:
for "_x" from 20 to 10 step -2 do {..code..}

Additional Information

See also:
Control Structuresfor forspecwhile

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