requiredVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands]]
[[Category:Scripting Commands OFP 1.97]]
[[Category:Scripting Commands OFP 1.46]]
[[Category:Scripting Commands ArmA]]
back to [[Scripting_Reference#R|COMREF]]
back to [[Scripting_Reference#R|COMREF]]



Revision as of 15:10, 19 April 2006


back to COMREF

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"