requiredVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|R]]
[[Category:Scripting Commands ArmA|R]]


back to [[Scripting_Reference#R|COMREF]]


<h2 style="color:#000066">'''requiredVersion ''version'''''</h2>
<h2 style="color:#000066">'''requiredVersion ''version'''''</h2>

Revision as of 11:05, 23 April 2006


requiredVersion version


Operand types:

version: String

Type of returned value:

Boolean

Compatibility:

Added in version 1.21

Description:

Check if version of application is available.

If not, show warning message and return false.

Version format is "Major.Minor", e.g. "1.30".


Example:

requiredVersion "1.30"