requiredVersion: Difference between revisions
Jump to navigation
Jump to search
m (moved command to template) |
m (moved categories to bottom) |
||
Line 1: | Line 1: | ||
{{Command|= Comments | {{Command|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 12: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''requiredVersion''' version |= Syntax | | '''requiredVersion''' version |= Syntax | ||
|p1= version: [[String]] |= Parameter 1 | |p1= version: [[String]] - Version of format '''Major.Minor''', e.g. '''1.30''' |= Parameter 1 | ||
| [[Boolean]] |= Return value | | [[Boolean]] |= Return value | ||
Line 37: | Line 32: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|REQUIREDVERSION]] | |||
[[Category:Scripting Commands OFP 1.96|REQUIREDVERSION]] | |||
[[Category:Scripting Commands OFP 1.46|REQUIREDVERSION]] | |||
[[Category:Scripting Commands ArmA|REQUIREDVERSION]] |
Revision as of 11:35, 3 August 2006
Description
- Description:
- Check if version of application is available. If not, show warning message and return false.
- Groups:
- Uncategorised
Syntax
- Syntax:
- requiredVersion version
- Parameters:
- version: String - Version of format Major.Minor, e.g. 1.30
- Return Value:
- Boolean
Examples
- Example 1:
requiredVersion "1.30"
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note