requiredVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|REQUIREDVERSION]]
[[Category:Scripting Commands|REQUIREDVERSION]]
[[Category:Scripting Commands OFP 1.97|REQUIREDVERSION]]
[[Category:Scripting Commands OFP 1.96|REQUIREDVERSION]]
[[Category:Scripting Commands OFP 1.46|REQUIREDVERSION]]
[[Category:Scripting Commands OFP 1.46|REQUIREDVERSION]]
[[Category:Scripting Commands ArmA|REQUIREDVERSION]]
[[Category:Scripting Commands ArmA|REQUIREDVERSION]]

Revision as of 22:01, 1 June 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"