BIS fnc swapVars: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}") |
||
Line 21: | Line 21: | ||
_b = 2; | _b = 2; | ||
["_a", "_b"] [[call]] [[BIS_fnc_swapVars]]; | ["_a", "_b"] [[call]] [[BIS_fnc_swapVars]]; | ||
_a == 2; {{ | _a == 2; {{cc| true}}_b == 1; {{codecomment|// true}}</code> | ||
_b == 1; {{codecomment|// true}}</code> | |||
}} | }} | ||
Revision as of 17:34, 29 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Variables
Syntax
- Syntax:
- Syntax needed
- Parameters:
- variableName1: String
- variableName2: String
- Return Value:
- Return value needed
Examples
- Example 1:
_a = 1; _b = 2; ["_a", "_b"] call BIS_fnc_swapVars; _a == 2; // true_b == 1; // true
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