for var: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added note)
(emphasize lowercase warning)
Line 12: Line 12:
| '''for var''' |= Syntax
| '''for var''' |= Syntax


|p1= var: [[String]] |= Parameter 1
|p1= var: [[String]] (must be all '''lowercase''') |= Parameter 1


| [[For Type]] |= Return value
| [[For Type]] |= Return value
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Control Structures]] |= See also
| [[_forspec|for [ ]]], [[Control Structures]] |= See also


}}
}}

Revision as of 08:00, 19 May 2008

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

Description

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

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

See also:
for [ ]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

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