for var

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Starts for sequence, use in complete form (see example).

Syntax

Syntax:
for var
Parameters:
var: String (must be all lowercase)
Return Value:
For Type

Examples

Example 1:
for "_i" from 1 to 10 do {debugLog _i;}

Additional Information

Multiplayer:
Behaviour unknown.
See also:
for [ ], Control Structures

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Chosen variable may not contain capital letters.

for "_I" from 0 to 4 do{}; //will not work

--T_D 23:46, 26 January 2007 (CET)

Bottom Section

Personal tools
Buy ArmA now!