a != b: Difference between revisions
Lou Montana (talk | contribs) m (Some wiki formatting) |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 33: | Line 33: | ||
|p1= a: | |p1= a: | ||
<table class="wikitable"> | |||
<tr> | |||
<th>Introduced in</th> | |||
<th>Possible Type</th> | |||
</tr> | |||
<tr> | |||
<td rowspan="5">{{GVI|ofp|1.00}}</td> | |||
<td>Number</td> | |||
</tr> | |||
<tr><td>Side</td></tr> | |||
<tr><td>String</td></tr> | |||
<tr><td>Object</td></tr> | |||
<tr><td>Group</td></tr> | |||
<tr> | |||
<td rowspan="4">{{GVI|arma1|1.00}}</td> | |||
<td>Structured Text</td> | |||
</tr> | |||
<tr><td>Config</td></tr> | |||
<tr><td>Display</td></tr> | |||
<tr><td>Control</td></tr> | |||
<tr> | |||
<td rowspan="1">{{GVI|arma1|1.08}}</td> | |||
<td>Location</td> | |||
</tr> | |||
<tr> | |||
<td rowspan="3">{{GVI|arma3|2.00}}</td> | |||
<td>Diary Record</td> | |||
</tr> | |||
<tr><td>Namespace</td></tr> | |||
<tr><td>Boolean</td></tr> | |||
</table> | |||
|p2= b: identical to ''a''<nowiki/>'s type | |p2= b: identical to ''a''<nowiki/>'s type | ||
Latest revision as of 10:00, 1 January 2026
Description
- Description:
- Returns whether one value is not equal to another. String comparison is case-insensitive (e.g "STRINGtext" != "stringTEXT" // returns false - strings are equivalent).
- Groups:
- VariablesMath
Syntax
- Syntax:
- a != b
- Parameters:
- a:
Introduced in Possible Type
1.00Number Side String Object Group
1.00Structured Text Config Display Control
1.08Location
2.00Diary Record Namespace Boolean - b: identical to a's type
- Return Value:
- Boolean - true if a is different from b, false otherwise
Examples
- Example 1:
- Example 2:
- Example 3:
- Example 4:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Variables
- Command Group: Math