productVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
Line 2: Line 2:


| arma2oa
| arma2oa
|1.62


|1.62
|game2= tkoh
|version2= 1.00
 
|game3= arma3
|version3= 0.50


|gr1= System
|gr1= System

Revision as of 23:30, 12 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