from: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|FROM]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|FROM]]
____________________________________________________________________________________________
[[Category:Armed Assault: Control Flows|FROM]]


| arma |= Game name


|2.01|= Game version
____________________________________________________________________________________________


<h2 style="color:#000066">'''''for "_var"'' from  ''b'''''</h2>
| Continue sequence of [[for]] command. |= Description
____________________________________________________________________________________________


| for "_var" '''from''' b |= Syntax


'''Operand types:'''
|p1= for "_var": [[For Type]] |= Parameter 1


'''for "_var":'''  [[For Type]]
|p2= b: [[Number]] |= Parameter 2
   
'''b:''' [[Number]]


'''Type of returned value:'''
| [[For Type]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[[for]] "_x" from 10 [[to]] 20 [[do]] {..code..}</pre> |= Example 1
____________________________________________________________________________________________


[[For Type]]
|  |= See also


'''Compatibility:'''
}}


Version 2.01 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Continue sequence of [[for var|for]] command.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|FROM]]
 
[[Category:Scripting Commands ArmA|FROM]]
'''Example''':
[[Category:Armed Assault: Control Flows|FROM]]
   
[[for var|for]] "_x" '''from''' 10 [[to]] 20 [[do]] {..code..}

Revision as of 01:19, 2 August 2006

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

Description

Description:
Continue sequence of for command.
Groups:
Uncategorised

Syntax

Syntax:
for "_var" from b
Parameters:
for "_var": For Type
b: Number
Return Value:
For Type

Examples

Example 1:
[[for]] "_x" from 10 [[to]] 20 [[do]] {..code..}

Additional Information

See also:
See also needed

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