for do: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''''forCommand'' do ''code''''' |= Syntax
| forCommand '''do''' code |= Syntax


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

Revision as of 18:36, 22 January 2009

-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 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