set: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | array '''set''' [index, value] |= Syntax | ||
|p1= index: [[Number]] |= Parameter | |p1= array: [[Array]] |= Parameter 1 | ||
|p2= [index, value]: [[Array]] |= Parameter 2 | |||
| | |p3= index: [[Number]] |= Parameter 3 | ||
|p4= value: [[Anything]] |= Parameter 4 | |||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 17:38, 25 January 2009
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
- Syntax:
- array set [index, value]
- Parameters:
- array: Array
- [index, value]: Array
- index: Number
- value: Anything
- Return Value:
- Nothing
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