set: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Array]] '''set''' [index, value] |= Syntax | ||
|p1= | |p1= index: [[Number]] |= Parameter 1 | ||
|p2= | |p2= value: [[Anything]] |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |x1= <pre>_arrayOne set [0, "Hello"]</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 03:58, 30 August 2007
Description
- Description:
- Format of element is [index, value]. Changes an element of given array. If element does not exist, resize index+1 is called to create it.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_arrayOne set [0, "Hello"]
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