controlNull: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Killzone Kid (talk | contribs) (description example) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| A non-existing [[Control]]. | | A non-existing [[Control]]. To compare non-existent objects use [[isNull]] or [[isEqualTo]]: | ||
* <tt>[[controlNull]] <nowiki>==</nowiki> [[controlNull]]; // false</tt> | |||
* <tt>[[isNull]] [[controlNull]]; // true</tt> | |||
* <tt>[[controlNull]] [[isEqualTo]] [[controlNull]]; // true</tt> |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 13: | Line 16: | ||
| [[Control]] |= Return value | | [[Control]] |= Return value | ||
| x1 = <code>![[isNull]] [[controlNull]]; // false</code> |= | |||
| x2 = <code>[[str]] [[controlNull]]; // No control</code> |= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 18:34, 26 March 2016
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