requiredVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed desc)
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''requiredVersion''' version |= Syntax
| [[Boolean]] <nowiki>=</nowiki>  '''requiredVersion''' "version" |= Syntax


|p1= version: [[String]]  |= Parameter 1
|p1= version: [[String]]  |= Parameter 1
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>requiredVersion "1.30"</pre> |= Example 1
|x1= <pre>?requiredVersion "1.30":exit;</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:22, 29 August 2007

Hover & click on the images for description

Description

Description:
Check if version of application is available. If not, show warning message and return false. Version of format Major.Minor, e.g. 1.30
Groups:
Uncategorised

Syntax

Syntax:
Boolean = requiredVersion "version"
Parameters:
version: String
Return Value:
Boolean

Examples

Example 1:
?requiredVersion "1.30":exit;

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

Notes

Bottom Section