for forspec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added see also)
mNo edit summary
Line 29: Line 29:
[[Category:Scripting Commands|FORARRAY]]
[[Category:Scripting Commands|FORARRAY]]
[[Category:Scripting Commands ArmA|FORARRAY]]
[[Category:Scripting Commands ArmA|FORARRAY]]
[[Category:Command_Group:_Program_Flow|{{uc:{{PAGENAME}}}}]]

Revision as of 05:31, 24 February 2007

-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