a less b: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix sorting key) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 8: | Line 7: | ||
|gr1= Math |GROUP1= | |gr1= Math |GROUP1= | ||
|gr2= Variables |GROUP2= | |gr2= Variables |GROUP2= | ||
| Returns [[true]] if '''a''' is less than '''b''', else returns [[false]]. |DESCRIPTION= | | Returns [[true]] if '''a''' is less than '''b''', else returns [[false]]. |DESCRIPTION= | ||
| a '''<''' b |SYNTAX= | | a '''<''' b |SYNTAX= | ||
Line 20: | Line 17: | ||
|r1= [[Boolean]] |RETURNVALUE | |r1= [[Boolean]] |RETURNVALUE | ||
|x1= <code>_test = 1 < 2; {{cc|true}}</code> |Example1 | |x1= <code>_test = 1 < 2; {{cc|true}}</code> |Example1 | ||
|x2= <code>_test = 2 < 1; {{cc|false}}</code> |Example2 | |x2= <code>_test = 2 < 1; {{cc|false}}</code> |Example2 | ||
|seealso= [[Operators]] | | |seealso= [[Operators]] | |
Revision as of 00:03, 17 January 2021
Description
Syntax
Examples
- Example 1:
_test = 1 < 2; // true
- Example 2:
_test = 2 < 1; // false
Additional Information
- See also:
- Operators
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Math
- Command Group: Variables
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands