displayNull: Difference between revisions

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


| A non-existing [[Display]]. This value is not equal to anything, including itself. |= Description
| A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]:
* <tt>[[displayNull]] <nowiki>==</nowiki> [[displayNull]]; // false</tt>
* <tt>[[isNull]] [[displayNull]]; // true</tt>
* <tt>[[displayNull]]  [[isEqualTo]] [[displayNull]]; // true</tt> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 13: Line 16:


| [[Display]] |= Return value
| [[Display]] |= Return value
| x1 = <code>![[isNull]] [[displayNull]]; // false</code> |=
| x2 = <code>[[str]] [[displayNull]]; // No display</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:41, 26 March 2016

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

Description

Description:
A non-existing Display. To compare non-existent displays use isNull or isEqualTo:
Groups:
Uncategorised

Syntax

Syntax:
displayNull
Return Value:
Display

Examples

Example 1:
!isNull displayNull; // false
Example 2:
str displayNull; // No display

Additional Information

See also:
controlNullgrpNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNulldisplayParent

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