displayNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= GUI Control |GROUP1=
|gr1= GUI Control
|gr2= Variables |GROUP2=
|gr2= Variables


| A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]:
| A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]:
* <tt>[[displayNull]] <nowiki>==</nowiki> [[displayNull]]; // false</tt>
* <tt>[[displayNull]] <nowiki>==</nowiki> [[displayNull]]; // false</tt>
* <tt>[[isNull]] [[displayNull]]; // true</tt>
* <tt>[[isNull]] [[displayNull]]; // true</tt>
* <tt>[[displayNull]]  [[isEqualTo]] [[displayNull]]; // true</tt> |DESCRIPTION=
* <tt>[[displayNull]]  [[isEqualTo]] [[displayNull]]; // true</tt>


| '''displayNull''' |SYNTAX=
| '''displayNull'''


| [[Display]] |RETURNVALUE=
| [[Display]]


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


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


}}
}}

Revision as of 00:27, 18 January 2021

Hover & click on the images for description

Description

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

Bottom Section