to: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(made clear it is a operator on it's own)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Continue sequence of 'for' command. |= Description
| Continue sequence of [[for var]] construct. It sets the end value of the index variable |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| for "_var" from a '''to''' b |= Syntax
| forType '''to''' b |= Syntax


|p1= for "_var" from a: [[For Type]] |= Parameter 1
|p1= forType: [[For Type]] |= Parameter 1


|p2= b: [[Number]] |= Parameter 2
|p2= b: [[Number]] |= Parameter 2
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>for "_x" from 10 to 20 do {..code..}</pre> |= Example 1
|x1= <code>[[for]] "_x" [[from]] 10 [[to]] 20 [[do]] {/* Do something*/}</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:29, 3 January 2017

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

Description

Description:
Continue sequence of for var construct. It sets the end value of the index variable
Groups:
Uncategorised

Syntax

Syntax:
forType to b
Parameters:
forType: For Type
b: Number
Return Value:
For Type

Examples

Example 1:
for "_x" from 10 to 20 do {/* Do something*/}

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