productVersion: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
||
Line 20: | Line 20: | ||
* [[String]] (Arma 3) - Platform (''"Windows"'', ''"Linux"'' or ''"OSX"'') | * [[String]] (Arma 3) - Platform (''"Windows"'', ''"Linux"'' or ''"OSX"'') | ||
* [[String]] (Arma 3) - Architecture - '''x64''' for 64bit or '''x86''' for 32bit '''Since version 1.67''' | * [[String]] (Arma 3) - Architecture - '''x64''' for 64bit or '''x86''' for 32bit '''Since version 1.67''' | ||
|x1= <code>[[hint]] [[str]] [[productVersion]]; {{cc|would return ["Arma 2 OA", "arma2oa", 162, 95208] on Arma 2 OA 1.62.95208}}</code> | |x1= <code>[[hint]] [[str]] [[productVersion]]; {{cc|would return ["Arma 2 OA", "arma2oa", 162, 95208] on Arma 2 OA 1.62.95208}}</code> |
Revision as of 23:31, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- System
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
hint str productVersion; // would return ["Arma 2 OA", "arma2oa", 162, 95208] on Arma 2 OA 1.62.95208
- Example 2:
hint str productVersion; // ["Arma 3","Arma3",137,128764,"Development",false,"Windows"]
- Example 3:
format ["%1.%2",(productVersion#2)/100 toFixed 2,(productVersion#3)]; // returns version e.g.: "2.00.146773"
Additional Information
- See also:
- supportInforequiredVersion
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