BIS fnc phoneticalWord: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|version1= 1.00 | |version1= 1.00 | ||
|gr1 = Strings | |gr1= Strings | ||
|descr= Convert number to NATO phonetical alphabet word (e.g. 2 becomes "Bravo") or letter of alphabet. | |descr= Convert number to NATO phonetical alphabet word (e.g. 2 becomes "Bravo") or letter of alphabet. |
Revision as of 12:42, 11 April 2021
Description
- Description:
- Convert number to NATO phonetical alphabet word (e.g. 2 becomes "Bravo") or letter of alphabet.
- Execution:
- call
- Groups:
- Strings
Syntax
- Syntax:
- [integer, short] call BIS_fnc_phoneticalWord
- Parameters:
- integer: Number - Any integer from 1 to 26.
- short: Boolean - (Optional, default false) true for the short version, false for the long version.
- Return Value:
- String - Phonetical word or letter of alphabet. In case of full word the returned string is localised.
Examples
- Example 1:
[1] call BIS_fnc_phoneticalWord; // Returns "Alpha"
- Example 2:
[1, true] call BIS_fnc_phoneticalWord; // Returns "A"
Additional Information
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