requiredVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#R|COMREF]]
<h2 style="color:#000066">'''requiredVersion ''version'''''</h2>
<h2 style="color:#000066">'''requiredVersion ''version'''''</h2>


'''Operand types:'''
'''Operand types:'''


version: [[String]]
'''version:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
Line 11: Line 14:
'''Description:'''
'''Description:'''


Check if version of application is available. If not, show warning message and return false.
Check if version of application is available.
 
If not, show warning message and return [[false]].
 
Version format is '''''"Major.Minor"''''', e.g. "'''1.30'''".


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


'''Example:'''
'''Example:'''


'''requiredVersion''' "1.30"
'''requiredVersion''' "1.30"

Revision as of 00:45, 16 April 2006

back to COMREF

requiredVersion version


Operand types:

version: String

Type of returned value:

Boolean

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"