productVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - " " to " ")
Line 21: Line 21:
* [[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>
|x2= <code>[[hint]] [[str]] [[productVersion]]; {{cc|["Arma 3","Arma3",137,128764,"Development",false,"Windows"]}}</code>
|x2= <code>[[hint]] [[str]] [[productVersion]]; {{cc|["Arma 3","Arma3",137,128764,"Development",false,"Windows"]}}</code>

Revision as of 20:15, 10 June 2021

Hover & click on the images for description

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