controlNull: Difference between revisions
| m (Bot: Reverted to revision 95122 by killzone_kid on 2016-03-26T17:34:09Z) | m (template:command argument fix) | ||
| Line 10: | Line 10: | ||
| * <tt>[[controlNull]] <nowiki>==</nowiki> [[controlNull]]; // false</tt> | * <tt>[[controlNull]] <nowiki>==</nowiki> [[controlNull]]; // false</tt> | ||
| * <tt>[[isNull]] [[controlNull]]; // true</tt> | * <tt>[[isNull]] [[controlNull]]; // true</tt> | ||
| * <tt>[[controlNull]] [[isEqualTo]] [[controlNull]]; // true</tt> |=  | * <tt>[[controlNull]] [[isEqualTo]] [[controlNull]]; // true</tt> |DESCRIPTION= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | '''controlNull''' |=  | | '''controlNull''' |SYNTAX= | ||
| | [[Control]] |=  | | [[Control]] |RETURNVALUE= | ||
| | x1 = <code>![[isNull]] [[controlNull]]; // false</code> |= | | x1 = <code>![[isNull]] [[controlNull]]; // false</code> |= | ||
| Line 21: | Line 21: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [[displayNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]] |=  | | [[displayNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]] |SEEALSO= | ||
| }} | }} | ||
Revision as of 14:35, 7 April 2019
Description
- Description:
- A non-existing Control. To compare non-existent objects use isNull or isEqualTo:
- controlNull == controlNull; // false
- isNull controlNull; // true
- controlNull isEqualTo controlNull; // true
 
- Groups:
- Uncategorised
Syntax
- Syntax:
- controlNull
- Return Value:
- Control
Examples
- Example 1:
- !isNull controlNull; // false
- Example 2:
- str controlNull; // No control
Additional Information
- See also:
- displayNullgrpNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull
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
