For Type

From Bohemia Interactive Community
Revision as of 12:39, 2 January 2021 by R3vo (talk | contribs) (Text replacement - "Category: Types" to "Category: Data Types")
Jump to navigation Jump to search

Description: This type handles 'For' cycles.


Usage of this type:

for "_var" from :expr: to :expr: [step <expr>] do {..code..};

Second usage:

for [":initPhase:",":condition:",":updatePhase:"] do {...code...};

Introduced with Armed Assault, does not refer to Cold War Crisis or Resistance.

See Also

for, Control Structures