requiredVersion: Difference between revisions

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





Revision as of 15:08, 4 May 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"