controlNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(description example)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| A non-existing [[Control]]. This value is not equal to anything, including itself. |= Description
| 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

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

Description

Description:
A non-existing Control. To compare non-existent objects use isNull or isEqualTo:
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

Notes

Bottom Section