for forspec: Difference between revisions

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


| creates cycle, using C like style. See example.  |= Description
| Creates cycle, using C like style. See example.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''for ''forspec'''''|= Syntax
| '''for''' forspec|= Syntax
|p1 = forspec: [[Array]]
|p1 = forspec: [[Array]]
| [[For Type]] |= Return value
| [[For Type]] |= Return value

Revision as of 23:15, 22 January 2009

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

Description

Description:
Creates cycle, using C like style. See example.
Groups:
Uncategorised

Syntax

Syntax:
for forspec
Parameters:
forspec: Array
Return Value:
For Type

Examples

Example 1:
for [{_x=1},{_x<=10},{_x=_x+1}] do {debugLog _x;}

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