max: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|MAX]]
[[Category:Scripting Commands|MAX]]
[[Category:Scripting Commands ArmA|MAX]]
[[Category:Scripting Commands ArmA|MAX]]
{{Command|= Comments
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">''a'' ''' max''' ''b''</h2>
|2.92|= Game version
____________________________________________________________________________________________


| The greater of a,b |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''a''' |= Syntax


'''a:''' [[Number]]
|p1= a: [[Number]] |= Parameter 1


'''b:''' [[Number]]
|p2= b: [[Number]] |= Parameter 2


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>3 max 2 .... result is 3</pre> |= Example 1
____________________________________________________________________________________________


[[Number]]
|  |= See also


'''Compatibility:'''
}}


Version 2.92 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


The greater of a,b
<h3 style="display:none">Bottom Section</h3>
 
'''Example:'''
 
3 '''max''' 2 .... result is 3

Revision as of 23:41, 1 August 2006


-wrong parameter ("Arma") defined!-2.92
Hover & click on the images for description

Description

Description:
The greater of a,b
Groups:
Uncategorised

Syntax

Syntax:
a
Parameters:
a: Number
b: Number
Return Value:
Number

Examples

Example 1:
3 max 2 .... result is 3

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