BIS fnc encodeFlags2: Difference between revisions
Jump to navigation
Jump to search
(created page) |
m (infobox to template) |
||
Line 22: | Line 22: | ||
//0.136 | //0.136 | ||
*/</pre>{{ | */</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description= | ||
|[] call [[BIS_fnc_encodeFlags2]]|Syntax= | |[] call [[BIS_fnc_encodeFlags2]]|Syntax= |
Revision as of 15:27, 2 April 2019
Description
- Description:
/* Encodes array of unique binary flags (zeroes or ones) into a single scalar. Syntax: ------- _encodedFlags:scalar = _flags:array call bis_fnc_encodeFlags2; Example: -------- 13 = [1,0,1,1] call bis_fnc_encodeFlags2; //0.136 */
Template:placeholder- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [] call BIS_fnc_encodeFlags2
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
Examples
- Example 1:
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