displayNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(3 intermediate revisions by the same user not shown)
Line 20: Line 20:


|descr= A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]:
|descr= A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]:
* {{hl|c= [[displayNull]] <nowiki>==</nowiki> [[displayNull]]; // false}}
<sqf>
* {{hl|[[isNull]] [[displayNull]]; // true}}
displayNull == displayNull; // false
* {{hl|[[displayNull]]  [[isEqualTo]] [[displayNull]]; // true}}
isNull displayNull; // true
displayNull isEqualTo displayNull; // true
</sqf>


|s1= '''displayNull'''
|s1= [[displayNull]]


|r1= [[Display]]
|r1= [[Display]]


|x1= <code>![[isNull]] [[displayNull]]; // false</code>
|x1= <sqf>!isNull displayNull; // false</sqf>
|x2= <code>[[str]] [[displayNull]]; // No display</code>
 
|x2= <sqf>str displayNull; // No display</sqf>


|seealso= [[controlNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[teamMemberNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]] [[displayParent]]
|seealso= [[controlNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[teamMemberNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]] [[displayParent]]

Latest revision as of 14:16, 13 May 2022

Hover & click on the images for description

Description

Description:
A non-existing Display. To compare non-existent displays use isNull or isEqualTo:
displayNull == displayNull; // false isNull displayNull; // true displayNull isEqualTo displayNull; // true
Groups:
GUI ControlVariables

Syntax

Syntax:
displayNull
Return Value:
Display

Examples

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

Additional Information

See also:
controlNull grpNull locationNull objNull taskNull teamMemberNull scriptNull configNull typeName isNull displayParent

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
7erra - c
Posted on Feb 05, 2022 - 16:02 (UTC)
When used in the debug console or as output in the chat or rpt it is displayed as "No display".