requiredVersion: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (moved command to template) |
||
Line 4: | Line 4: | ||
[[Category:Scripting Commands ArmA|REQUIREDVERSION]] | [[Category:Scripting Commands ArmA|REQUIREDVERSION]] | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.21|= Game version | |||
____________________________________________________________________________________________ | |||
''' | | Check if version of application is available. If not, show warning message and return [[false]]. Version format is '''Major.Minor''', e.g. '''1.30'''. |= Description | ||
____________________________________________________________________________________________ | |||
''' | | '''requiredVersion''' version |= Syntax | ||
|p1= version: [[String]] |= Parameter 1 | |||
[[Boolean]] | | [[Boolean]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>requiredVersion "1.30"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Revision as of 02:30, 3 August 2006
Description
- 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.
- Groups:
- Uncategorised
Syntax
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