grpNull: 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=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 7: Line 6:


|gr1= Groups |GROUP1=
|gr1= Groups |GROUP1=
____________________________________________________________________________________________


| A non-existing [[Group]]. To compare non-existent groups use [[isNull]] or [[isEqualTo]]:
| A non-existing [[Group]]. To compare non-existent groups use [[isNull]] or [[isEqualTo]]:
Line 14: Line 12:
* <tt>[[grpNull]] [[isEqualTo]] [[grpNull]]; // true</tt>  |DESCRIPTION=
* <tt>[[grpNull]] [[isEqualTo]] [[grpNull]]; // true</tt>  |DESCRIPTION=


____________________________________________________________________________________________


|'''grpNull''' |SYNTAX=
|'''grpNull''' |SYNTAX=


| [[Group]] |RETURNVALUE=
| [[Group]] |RETURNVALUE=
____________________________________________________________________________________________
| x1 = <code>![[isNull]] [[grpNull]]; // false</code> |EXAMPLE1=
| x1 = <code>![[isNull]] [[grpNull]]; // false</code> |EXAMPLE1=
| x2 = <code>[[str]] [[grpNull]]; // <NULL-group></code> |EXAMPLE2=  
| x2 = <code>[[str]] [[grpNull]]; // <NULL-group></code> |EXAMPLE2=  

Revision as of 02:34, 17 January 2021

Hover & click on the images for description

Description

Description:
A non-existing Group. To compare non-existent groups use isNull or isEqualTo:
Groups:
Groups

Syntax

Syntax:
grpNull
Return Value:
Group

Examples

Example 1:
!isNull grpNull; // false
Example 2:
str grpNull; // <NULL-group>

Additional Information

See also:
controlNulldisplayNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull

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