displayNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 8: Line 7:
|gr1= GUI Control |GROUP1=
|gr1= GUI Control |GROUP1=
|gr2= Variables |GROUP2=
|gr2= Variables |GROUP2=
____________________________________________________________________________________________


| 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]]:
Line 14: Line 12:
* <tt>[[isNull]] [[displayNull]]; // true</tt>
* <tt>[[isNull]] [[displayNull]]; // true</tt>
* <tt>[[displayNull]]  [[isEqualTo]] [[displayNull]]; // true</tt> |DESCRIPTION=
* <tt>[[displayNull]]  [[isEqualTo]] [[displayNull]]; // true</tt> |DESCRIPTION=
____________________________________________________________________________________________


| '''displayNull''' |SYNTAX=
| '''displayNull''' |SYNTAX=
Line 22: Line 19:
| x1 = <code>![[isNull]] [[displayNull]]; // false</code> |EXAMPLE1=
| x1 = <code>![[isNull]] [[displayNull]]; // false</code> |EXAMPLE1=
| x2 = <code>[[str]] [[displayNull]]; // No display</code> |EXAMPLE2=  
| x2 = <code>[[str]] [[displayNull]]; // No display</code> |EXAMPLE2=  
____________________________________________________________________________________________


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

Revision as of 01:38, 17 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

Notes

Bottom Section